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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 102 kB / 16.27 MB, free: 5.859 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.001194/0.001194, allocations: 185.3 kB / 17.19 MB, free: 5.508 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.325/1.325, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.622/2.622, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 62.98 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6687/0.6706, allocations: 162.2 MB / 1.083 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002886/0.6736, allocations: 1.996 MB / 1.085 GB, free: 260 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001819/0.6754, allocations: 1.195 MB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.823e-05/0.6755, allocations: 2.562 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003948/0.6759, allocations: 173.5 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.6763, allocations: 156.5 kB / 1.086 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.6768, allocations: 221.3 kB / 1.087 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000363/0.6771, allocations: 309.1 kB / 1.087 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.6773, allocations: 48.91 kB / 1.087 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.6775, allocations: 139.8 kB / 1.087 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.6777, allocations: 148.2 kB / 1.087 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.6777, allocations: 13.84 kB / 1.087 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.6779, allocations: 56.27 kB / 1.087 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.678, allocations: 89.47 kB / 1.087 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.6781, allocations: 128.6 kB / 1.087 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004386/0.6786, allocations: 367.4 kB / 1.088 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.6786, allocations: 0.75 kB / 1.088 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6786, allocations: 0 / 1.088 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.6786, allocations: 1.531 kB / 1.088 GB, free: 14.63 MB / 0.8419 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.0009387/0.6795, allocations: 0.6166 MB / 1.088 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.6796, allocations: 8.844 kB / 1.088 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.851e-05/0.6797, allocations: 32.56 kB / 1.088 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.6802, allocations: 382.2 kB / 1.089 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.6802, allocations: 7.719 kB / 1.089 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.6802, allocations: 9.031 kB / 1.089 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.6804, allocations: 107.2 kB / 1.089 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.6805, allocations: 0 / 1.089 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.6805, allocations: 5.344 kB / 1.089 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.6805, allocations: 1.875 kB / 1.089 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.6807, allocations: 58.34 kB / 1.089 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007768/0.6814, allocations: 0.4941 MB / 1.089 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.6818, allocations: 138.4 kB / 1.09 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.6819, allocations: 46.88 kB / 1.09 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.682, allocations: 3.438 kB / 1.09 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/0.6822, allocations: 113.8 kB / 1.09 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.6822, allocations: 0 / 1.09 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.000527/0.6827, allocations: 222.9 kB / 1.09 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.6828, allocations: 58.86 kB / 1.09 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005812/0.6834, allocations: 0.5084 MB / 1.091 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.6834, allocations: 36.11 kB / 1.091 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.6836, allocations: 162.8 kB / 1.091 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.6836, allocations: 42.03 kB / 1.091 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.6837, allocations: 70.3 kB / 1.091 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.6839, allocations: 348.2 kB / 1.091 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.6841, allocations: 101.9 kB / 1.091 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.6843, allocations: 131.8 kB / 1.091 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/0.6846, allocations: 183.5 kB / 1.092 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.6846, allocations: 0 / 1.092 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005622/0.6852, allocations: 322.1 kB / 1.092 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.6852, allocations: 5.938 kB / 1.092 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.6852, allocations: 3.938 kB / 1.092 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.6853, allocations: 2.406 kB / 1.092 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.6855, allocations: 50 kB / 1.092 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.6855, allocations: 2.984 kB / 1.092 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.6856, allocations: 18.69 kB / 1.092 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.6857, allocations: 13.66 kB / 1.092 GB, free: 11.89 MB / 0.8419 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.0001787/0.6859, allocations: 185.2 kB / 1.092 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.6859, allocations: 33.77 kB / 1.092 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.221e-05/0.686, allocations: 42.59 kB / 1.092 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.686, allocations: 2.281 kB / 1.092 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.686, allocations: 0 / 1.092 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.686, allocations: 1.078 kB / 1.092 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.6863, allocations: 291 kB / 1.092 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6863, allocations: 1.312 kB / 1.092 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.527e-05/0.6864, allocations: 10.98 kB / 1.093 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.6864, allocations: 1.922 kB / 1.093 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.6864, allocations: 24.36 kB / 1.093 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.6865, allocations: 3.938 kB / 1.093 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6865, allocations: 0 / 1.093 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.6868, allocations: 207.3 kB / 1.093 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.687, allocations: 116.6 kB / 1.093 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.766e-05/0.687, allocations: 10.3 kB / 1.093 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-05/0.6871, allocations: 6.594 kB / 1.093 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.6872, allocations: 25.28 kB / 1.093 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.6872, allocations: 6.125 kB / 1.093 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003491/0.6875, allocations: 314 kB / 1.093 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6876, allocations: 0 / 1.093 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003004/0.6879, allocations: 58.34 kB / 1.093 GB, free: 11.03 MB / 0.8419 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.001439/0.6893, allocations: 416.8 kB / 1.094 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004526/0.6898, allocations: 213.2 kB / 1.094 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.6898, allocations: 0.5312 kB / 1.094 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.6899, allocations: 62.72 kB / 1.094 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.6904, allocations: 80.23 kB / 1.094 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008643/0.6913, allocations: 0.562 MB / 1.095 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.6917, allocations: 0.7935 MB / 1.095 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.002e-05/0.6918, allocations: 35.8 kB / 1.095 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of SimCode: time 3.7e-07/0.6918, allocations: 0 / 1.095 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of Templates: time 0.007108/0.6989, allocations: 4.389 MB / 1.1 GB, free: 9.16 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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) Reference file matches