Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009316/0.009316, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001922/0.001922, allocations: 198.9 kB / 16.67 MB, free: 5.98 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.54/1.54, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.992/2.992, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.89 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3698, allocations: 157.4 MB / 1.208 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.003572/0.3734, allocations: 0.9903 MB / 1.209 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002826/0.3763, allocations: 1.346 MB / 1.21 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.3765, allocations: 0 / 1.21 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.3768, allocations: 23.73 kB / 1.21 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.3771, allocations: 35.66 kB / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.3785, allocations: 277.9 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00069/0.3792, allocations: 395.3 kB / 1.211 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.3795, allocations: 77.64 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003778/0.3799, allocations: 151.6 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000286/0.3802, allocations: 135.5 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.761e-05/0.3803, allocations: 32 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.3805, allocations: 59.97 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.813e-05/0.3806, allocations: 55.83 kB / 1.211 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.3808, allocations: 135.4 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005276/0.3813, allocations: 402.6 kB / 1.212 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3813, allocations: 0 / 1.212 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3813, allocations: 0 / 1.212 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.3813, allocations: 4 kB / 1.212 GB, free: 5.562 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001345/0.3827, allocations: 0.6149 MB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.3827, allocations: 16.61 kB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.3829, allocations: 28.66 kB / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.3839, allocations: 370.8 kB / 1.213 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.432e-05/0.384, allocations: 20.38 kB / 1.213 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-05/0.3841, allocations: 20.38 kB / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005414/0.3846, allocations: 208.1 kB / 1.213 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3846, allocations: 3.938 kB / 1.213 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.3846, allocations: 4 kB / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.3847, allocations: 0 / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005437/0.3852, allocations: 151.8 kB / 1.213 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.3867, allocations: 0.9109 MB / 1.214 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.3871, allocations: 145 kB / 1.214 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.3873, allocations: 88.17 kB / 1.214 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.3874, allocations: 4 kB / 1.214 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004062/0.3878, allocations: 167.5 kB / 1.214 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.804e-06/0.3878, allocations: 0 / 1.214 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0009627/0.3888, allocations: 257.4 kB / 1.215 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.3889, allocations: 162.2 kB / 1.215 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.3892, allocations: 221 kB / 1.215 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.751e-05/0.3892, allocations: 33.7 kB / 1.215 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.3894, allocations: 152.1 kB / 1.215 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.3895, allocations: 35.48 kB / 1.215 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.3896, allocations: 61.75 kB / 1.215 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002506/0.3899, allocations: 338.8 kB / 1.216 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003398/0.3902, allocations: 99.92 kB / 1.216 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003982/0.3906, allocations: 173.3 kB / 1.216 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006226/0.3912, allocations: 266.9 kB / 1.216 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.3913, allocations: 0 / 1.216 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009275/0.3922, allocations: 376.5 kB / 1.216 GB, free: 268 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/0.3923, allocations: 67.39 kB / 1.217 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3923, allocations: 4.219 kB / 1.217 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.3923, allocations: 8 kB / 1.217 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.3925, allocations: 27.91 kB / 1.217 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.3925, allocations: 8 kB / 1.217 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005047/0.393, allocations: 83.8 kB / 1.217 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/0.3931, allocations: 16 kB / 1.217 GB, free: 40 kB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.000253/0.3933, allocations: 159.2 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.3934, allocations: 23.75 kB / 1.217 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.295e-05/0.3934, allocations: 25.17 kB / 1.217 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3934, allocations: 4 kB / 1.217 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3935, allocations: 0 / 1.217 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.3935, allocations: 4.469 kB / 1.217 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.3938, allocations: 257.4 kB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3938, allocations: 4 kB / 1.217 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.3939, allocations: 19.98 kB / 1.217 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.3939, allocations: 7.984 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.394, allocations: 0 / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.394, allocations: 4 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.394, allocations: 0 / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006111/0.3946, allocations: 244.1 kB / 1.217 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.302e-05/0.3947, allocations: 88.92 kB / 1.217 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.3947, allocations: 8 kB / 1.217 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.3948, allocations: 19.97 kB / 1.217 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-05/0.3949, allocations: 15.98 kB / 1.218 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.3949, allocations: 4 kB / 1.218 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001525/0.3951, allocations: 168.3 kB / 1.218 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3951, allocations: 0 / 1.218 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003118/0.3954, allocations: 51.84 kB / 1.218 GB, free: 14.84 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002277/0.3957, allocations: 127.2 kB / 1.218 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007962/0.3965, allocations: 334.9 kB / 1.218 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3965, allocations: 4.062 kB / 1.218 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000295/0.3968, allocations: 75.88 kB / 1.218 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.3972, allocations: 52.53 kB / 1.218 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007336/0.398, allocations: 387.5 kB / 1.219 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.3983, allocations: 0.7554 MB / 1.219 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001228/0.3985, allocations: 29.53 kB / 1.219 GB, free: 13 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.3985, allocations: 19.44 kB / 1.219 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3985, allocations: 0 / 1.219 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of Templates: time 0.007692/0.4062, allocations: 3.264 MB / 1.223 GB, free: 9.762 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches