Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_9_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_9_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.001197/0.001197, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001193/0.001193, allocations: 196.5 kB / 16.26 MB, free: 6.629 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.454/1.454, allocations: 222.9 MB / 239.9 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.421/2.421, allocations: 390.2 MB / 0.6644 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 67.89 kB / 0.812 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.769/0.7705, allocations: 140.4 MB / 0.9491 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.00337/0.7739, allocations: 2.048 MB / 0.9511 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001725/0.7757, allocations: 1.18 MB / 0.9523 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.7758, allocations: 5.25 kB / 0.9523 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004467/0.7763, allocations: 150.9 kB / 0.9524 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.7766, allocations: 148.2 kB / 0.9525 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004806/0.7771, allocations: 197.1 kB / 0.9527 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003274/0.7774, allocations: 312.7 kB / 0.953 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.7776, allocations: 55.28 kB / 0.9531 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.7778, allocations: 147.7 kB / 0.9532 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.778, allocations: 151.5 kB / 0.9534 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.869e-05/0.778, allocations: 14.38 kB / 0.9534 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.7782, allocations: 56.16 kB / 0.9534 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.7783, allocations: 94.81 kB / 0.9535 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.7784, allocations: 125.2 kB / 0.9536 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.7788, allocations: 359.9 kB / 0.954 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.7788, allocations: 5.031 kB / 0.954 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7788, allocations: 0 / 0.954 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.7788, allocations: 0 / 0.954 GB, free: 5.496 MB / 0.7169 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.0009078/0.7797, allocations: 0.6219 MB / 0.9546 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.7798, allocations: 9.094 kB / 0.9546 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.292e-05/0.7798, allocations: 36.34 kB / 0.9546 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.7803, allocations: 375 kB / 0.955 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.7803, allocations: 3.438 kB / 0.955 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.7803, allocations: 14.31 kB / 0.955 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.7806, allocations: 106.4 kB / 0.9551 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.7806, allocations: 0 / 0.9551 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.7806, allocations: 11.92 kB / 0.9551 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.7806, allocations: 2.562 kB / 0.9551 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.7808, allocations: 58.66 kB / 0.9552 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007102/0.7815, allocations: 496.5 kB / 0.9557 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.7819, allocations: 136.3 kB / 0.9558 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.782, allocations: 49.73 kB / 0.9558 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.782, allocations: 4 kB / 0.9558 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.7822, allocations: 108.3 kB / 0.9559 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.465e-06/0.7823, allocations: 0 / 0.9559 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005265/0.7828, allocations: 234.7 kB / 0.9562 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.7828, allocations: 54.34 kB / 0.9562 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006015/0.7834, allocations: 0.5108 MB / 0.9567 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.7835, allocations: 30.77 kB / 0.9568 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.7836, allocations: 169.3 kB / 0.9569 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.7837, allocations: 34.31 kB / 0.9569 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.7838, allocations: 69.02 kB / 0.957 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.7839, allocations: 349.5 kB / 0.9573 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.7841, allocations: 97.11 kB / 0.9574 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.7843, allocations: 131.7 kB / 0.9576 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.7846, allocations: 182.2 kB / 0.9577 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7846, allocations: 3.938 kB / 0.9577 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005555/0.7852, allocations: 324.5 kB / 0.9581 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.7852, allocations: 5.5 kB / 0.9581 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.7852, allocations: 5.312 kB / 0.9581 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.7853, allocations: 5.438 kB / 0.9581 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.7855, allocations: 54.41 kB / 0.9581 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.7855, allocations: 2.75 kB / 0.9581 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.7857, allocations: 17.16 kB / 0.9581 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/0.7857, allocations: 15.92 kB / 0.9582 GB, free: 2.312 MB / 0.7169 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.0001816/0.7859, allocations: 183.6 kB / 0.9583 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.786, allocations: 29.34 kB / 0.9584 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.907e-05/0.786, allocations: 37.62 kB / 0.9584 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.786, allocations: 6.125 kB / 0.9584 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.7861, allocations: 0 / 0.9584 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.7861, allocations: 1.219 kB / 0.9584 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.7863, allocations: 295.2 kB / 0.9587 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.7863, allocations: 1.094 kB / 0.9587 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.229e-05/0.7864, allocations: 20.8 kB / 0.9587 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.7864, allocations: 0.875 kB / 0.9587 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.7865, allocations: 5.938 kB / 0.9587 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.7865, allocations: 1.094 kB / 0.9587 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.7865, allocations: 0 / 0.9587 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.7868, allocations: 213.2 kB / 0.9589 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.636e-05/0.7869, allocations: 113.8 kB / 0.959 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/0.787, allocations: 10.28 kB / 0.959 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.503e-05/0.7871, allocations: 3.812 kB / 0.959 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.589e-05/0.7872, allocations: 22.62 kB / 0.9591 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.7872, allocations: 5.531 kB / 0.9591 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003158/0.7875, allocations: 315.6 kB / 0.9594 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7875, allocations: 4 kB / 0.9594 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003279/0.7879, allocations: 52.62 kB / 0.9594 GB, free: 1.34 MB / 0.7169 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.0009999/0.7889, allocations: 427.2 kB / 0.9598 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004432/0.7893, allocations: 194.8 kB / 0.96 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7893, allocations: 0.8125 kB / 0.96 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.7895, allocations: 67.06 kB / 0.9601 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.79, allocations: 95.89 kB / 0.9602 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008499/0.7908, allocations: 0.6039 MB / 0.9608 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.7912, allocations: 0.7882 MB / 0.9615 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000161/0.7913, allocations: 59.84 kB / 0.9616 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.429e-05/0.7914, allocations: 35.2 kB / 0.9616 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.7914, allocations: 0 / 0.9616 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of Templates: time 0.009214/0.8006, allocations: 3.988 MB / 0.9655 GB, free: 13.82 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches