Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007555/0.007555, allocations: 103.3 kB / 15.73 MB, free: 5.996 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.00169/0.00169, allocations: 187.6 kB / 16.67 MB, free: 5.926 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.759/2.759, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001343, allocations: 59.91 kB / 1.054 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175/1.176, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004379/1.181, allocations: 1.993 MB / 1.209 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002471/1.183, allocations: 1.193 MB / 1.21 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002622/1.184, allocations: 7.938 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005199/1.184, allocations: 163.4 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005721/1.185, allocations: 155.4 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007014/1.185, allocations: 226.7 kB / 1.211 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005034/1.186, allocations: 311.2 kB / 1.211 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/1.186, allocations: 52.38 kB / 1.211 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/1.187, allocations: 151.4 kB / 1.211 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/1.187, allocations: 151.4 kB / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.843e-05/1.187, allocations: 16 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/1.187, allocations: 59.97 kB / 1.212 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/1.187, allocations: 83.73 kB / 1.212 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001784/1.187, allocations: 127.1 kB / 1.212 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007064/1.188, allocations: 364.9 kB / 1.212 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.134e-05/1.188, allocations: 0 / 1.212 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.707e-06/1.188, allocations: 4 kB / 1.212 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.089e-05/1.188, allocations: 4 kB / 1.212 GB, free: 8.527 MB / 0.9356 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.002009/1.19, allocations: 0.6185 MB / 1.213 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/1.19, allocations: 12.03 kB / 1.213 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.344e-05/1.19, allocations: 38.73 kB / 1.213 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/1.191, allocations: 36.56 kB / 1.213 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009734/1.192, allocations: 377.8 kB / 1.213 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/1.192, allocations: 12 kB / 1.213 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/1.192, allocations: 4 kB / 1.213 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/1.192, allocations: 111.5 kB / 1.213 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/1.192, allocations: 0 / 1.213 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/1.192, allocations: 3.938 kB / 1.213 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/1.192, allocations: 0 / 1.213 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/1.192, allocations: 63.95 kB / 1.213 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/1.193, allocations: 0.4924 MB / 1.214 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/1.194, allocations: 126.8 kB / 1.214 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/1.194, allocations: 56.77 kB / 1.214 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/1.194, allocations: 4 kB / 1.214 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002514/1.194, allocations: 111.3 kB / 1.214 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 2.284e-06/1.194, allocations: 0 / 1.214 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0006173/1.195, allocations: 221.4 kB / 1.214 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.407e-05/1.195, allocations: 55.34 kB / 1.214 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006413/1.196, allocations: 0.5131 MB / 1.215 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/1.196, allocations: 29.7 kB / 1.215 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/1.196, allocations: 168.4 kB / 1.215 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.701e-05/1.196, allocations: 35.55 kB / 1.215 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/1.196, allocations: 73.88 kB / 1.215 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001628/1.196, allocations: 346.8 kB / 1.216 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/1.196, allocations: 100.5 kB / 1.216 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/1.197, allocations: 127.6 kB / 1.216 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/1.197, allocations: 192.2 kB / 1.216 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.197, allocations: 0 / 1.216 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005769/1.198, allocations: 313.2 kB / 1.216 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/1.198, allocations: 11.94 kB / 1.216 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.198, allocations: 3.984 kB / 1.216 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/1.198, allocations: 0 / 1.216 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/1.198, allocations: 59.97 kB / 1.216 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/1.198, allocations: 0 / 1.216 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/1.198, allocations: 23.83 kB / 1.216 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/1.198, allocations: 8 kB / 1.216 GB, free: 3.98 MB / 0.9356 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,intEqu.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.0001886/1.198, allocations: 177.8 kB / 1.217 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.984e-05/1.198, allocations: 43.47 kB / 1.217 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.033e-05/1.198, allocations: 35.12 kB / 1.217 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.198, allocations: 4 kB / 1.217 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.198, allocations: 4 kB / 1.217 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.198, allocations: 3.984 kB / 1.217 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000496/1.199, allocations: 293.5 kB / 1.217 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.199, allocations: 0 / 1.217 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.842e-05/1.199, allocations: 11.98 kB / 1.217 GB, free: 3.355 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/1.199, allocations: 3.938 kB / 1.217 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/1.199, allocations: 11.88 kB / 1.217 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/1.199, allocations: 3.984 kB / 1.217 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/1.199, allocations: 0 / 1.217 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004479/1.2, allocations: 206.1 kB / 1.217 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.875e-05/1.2, allocations: 128.5 kB / 1.217 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/1.2, allocations: 0 / 1.217 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/1.2, allocations: 11.98 kB / 1.217 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.312e-05/1.2, allocations: 15.98 kB / 1.217 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/1.2, allocations: 4 kB / 1.217 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000359/1.2, allocations: 319.1 kB / 1.218 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/1.2, allocations: 0 / 1.218 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003057/1.201, allocations: 56 kB / 1.218 GB, free: 2.578 MB / 0.9356 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,intEqu.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.001872/1.203, allocations: 1.063 MB / 1.219 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004973/1.203, allocations: 195 kB / 1.219 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.203, allocations: 0 / 1.219 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/1.203, allocations: 63.91 kB / 1.219 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/1.204, allocations: 88.38 kB / 1.219 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004541/1.208, allocations: 3.111 MB / 1.222 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/1.209, allocations: 0.7869 MB / 1.223 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001792/1.209, allocations: 58.94 kB / 1.223 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/1.209, allocations: 103.4 kB / 1.223 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of SimCode: time 1.152e-06/1.209, allocations: 0 / 1.223 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0319/1.241, allocations: 7.269 MB / 1.23 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/9.305, allocations: 11.97 kB / 1.23 GB, free: 6.012 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,intEqu.u1,intEqu.u2,intEqu.y Variables in the result:intEqu.u1,intEqu.u2,intEqu.y,reaToInt.u,reaToInt.y,reaToInt1.u,reaToInt1.y,timTabLin.extrapolation,timTabLin.offset[1],timTabLin.smoothness,timTabLin.table[1,1],timTabLin.table[1,2],timTabLin.table[2,1],timTabLin.table[2,2],timTabLin.table[3,1],timTabLin.table[3,2],timTabLin.table[4,1],timTabLin.table[4,2],timTabLin.table[5,1],timTabLin.table[5,2],timTabLin.timeScale,timTabLin.y[1],timTabLin1.extrapolation,timTabLin1.offset[1],timTabLin1.smoothness,timTabLin1.table[1,1],timTabLin1.table[1,2],timTabLin1.table[2,1],timTabLin1.table[2,2],timTabLin1.table[3,1],timTabLin1.table[3,2],timTabLin1.table[4,1],timTabLin1.table[4,2],timTabLin1.table[5,1],timTabLin1.table[5,2],timTabLin1.timeScale,timTabLin1.y[1],time