Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 102.2 kB / 16.35 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 189.8 kB / 17.29 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.549/2.549, allocations: 437.1 MB / 0.7112 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.72 kB / 0.8707 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3074, allocations: 151.7 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003461/0.311, allocations: 2.003 MB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001953/0.3129, allocations: 1.205 MB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.3131, allocations: 7.938 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005003/0.3136, allocations: 159.4 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.314, allocations: 155.4 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005401/0.3146, allocations: 226 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004332/0.315, allocations: 311.2 kB / 1.023 GB, free: 5.812 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.3152, allocations: 40.38 kB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.3154, allocations: 151.4 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.3157, allocations: 151.4 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.3157, allocations: 12 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.3158, allocations: 59.92 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.316, allocations: 87.72 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.3161, allocations: 123.2 kB / 1.023 GB, free: 5.195 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004399/0.3166, allocations: 362.7 kB / 1.024 GB, free: 4.84 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3166, allocations: 0 / 1.024 GB, free: 4.84 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.324e-06/0.3166, allocations: 0 / 1.024 GB, free: 4.84 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.3166, allocations: 0 / 1.024 GB, free: 4.84 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001095/0.3177, allocations: 0.6303 MB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3177, allocations: 8.922 kB / 1.024 GB, free: 4.152 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.25e-05/0.3178, allocations: 36.47 kB / 1.024 GB, free: 4.117 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005617/0.3184, allocations: 382.1 kB / 1.025 GB, free: 3.703 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.3184, allocations: 4 kB / 1.025 GB, free: 3.699 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.3185, allocations: 12 kB / 1.025 GB, free: 3.688 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.3187, allocations: 108.3 kB / 1.025 GB, free: 3.578 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.3187, allocations: 0 / 1.025 GB, free: 3.578 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.3188, allocations: 8 kB / 1.025 GB, free: 3.57 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3188, allocations: 4 kB / 1.025 GB, free: 3.566 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.3189, allocations: 63.89 kB / 1.025 GB, free: 3.504 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007844/0.3197, allocations: 492.4 kB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.3201, allocations: 142.6 kB / 1.026 GB, free: 2.824 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.3202, allocations: 44.84 kB / 1.026 GB, free: 2.777 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.3202, allocations: 11.92 kB / 1.026 GB, free: 2.766 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.3205, allocations: 111.9 kB / 1.026 GB, free: 2.645 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.3205, allocations: 0 / 1.026 GB, free: 2.645 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0005146/0.321, allocations: 229.9 kB / 1.026 GB, free: 2.414 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.3211, allocations: 51.41 kB / 1.026 GB, free: 2.352 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005567/0.3216, allocations: 0.5093 MB / 1.026 GB, free: 1.836 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.3217, allocations: 25.7 kB / 1.026 GB, free: 1.805 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.3218, allocations: 164.4 kB / 1.027 GB, free: 1.641 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.3218, allocations: 39.55 kB / 1.027 GB, free: 1.602 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.3219, allocations: 69.88 kB / 1.027 GB, free: 1.527 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.3221, allocations: 350.8 kB / 1.027 GB, free: 1.176 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.3223, allocations: 100.5 kB / 1.027 GB, free: 1.078 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.3225, allocations: 136.1 kB / 1.027 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.3228, allocations: 183.5 kB / 1.027 GB, free: 0.75 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3229, allocations: 0 / 1.027 GB, free: 0.75 MB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005097/0.3234, allocations: 321.2 kB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3234, allocations: 8 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.3234, allocations: 3.938 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3234, allocations: 0 / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.3237, allocations: 51.91 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.3237, allocations: 0 / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.3238, allocations: 23.83 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.3239, allocations: 12 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001698/0.324, allocations: 189.8 kB / 1.028 GB, free: 140 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.3241, allocations: 31.62 kB / 1.028 GB, free: 108 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.851e-05/0.3242, allocations: 39.06 kB / 1.028 GB, free: 68 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3242, allocations: 0 / 1.028 GB, free: 68 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3242, allocations: 3.938 kB / 1.028 GB, free: 64 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3242, allocations: 0 / 1.028 GB, free: 64 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.3245, allocations: 305.3 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3245, allocations: 0 / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.112e-05/0.3246, allocations: 19.98 kB / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.3246, allocations: 4 kB / 1.028 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.3246, allocations: 7.938 kB / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.3246, allocations: 3.938 kB / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3246, allocations: 4 kB / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.325, allocations: 203.4 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.3251, allocations: 104.7 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.3252, allocations: 11.94 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.3253, allocations: 11.98 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.156e-05/0.3254, allocations: 23.91 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.3254, allocations: 8 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003395/0.3257, allocations: 315.1 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3257, allocations: 0 / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002885/0.326, allocations: 59.91 kB / 1.029 GB, free: 14.92 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001047/0.3271, allocations: 426.7 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004251/0.3275, allocations: 195.9 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3275, allocations: 0 / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.3277, allocations: 59.91 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.3282, allocations: 112.6 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000945/0.3291, allocations: 0.5122 MB / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.3295, allocations: 0.7871 MB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001453/0.3297, allocations: 50.95 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.911e-05/0.3298, allocations: 31.42 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.3298, allocations: 0 / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of Templates: time 0.008165/0.3379, allocations: 4.053 MB / 1.035 GB, free: 8.863 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches