Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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.",fileNamePrefix="Buildings_9_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.",fileNamePrefix="Buildings_9_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.006043/0.006043, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001276/0.001276, allocations: 199 kB / 16.67 MB, free: 5.977 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.689/2.689, allocations: 390.2 MB / 0.6648 GB, free: 132 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 66.95 kB / 0.9508 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3534, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002952/0.3564, allocations: 0.978 MB / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002489/0.3589, allocations: 1.289 MB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.3591, allocations: 4 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.3594, allocations: 11.81 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.3595, allocations: 43.64 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.3606, allocations: 273.9 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004849/0.3611, allocations: 331.4 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.3613, allocations: 65.38 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.3615, allocations: 119.7 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.3617, allocations: 127.5 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.063e-05/0.3617, allocations: 28 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.927e-05/0.3618, allocations: 43.98 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.708e-05/0.3619, allocations: 35.91 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.3621, allocations: 115.5 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003603/0.3624, allocations: 342.9 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3625, allocations: 0 / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3625, allocations: 0 / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.677e-06/0.3625, allocations: 0 / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009202/0.3634, allocations: 0.5643 MB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3635, allocations: 8.031 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.624e-05/0.3635, allocations: 20.75 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.3639, allocations: 259.8 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.3639, allocations: 16.31 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.364, allocations: 16.38 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.3644, allocations: 168.2 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3644, allocations: 192 / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.3645, allocations: 7.938 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.3645, allocations: 4 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004477/0.3649, allocations: 139.8 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.3661, allocations: 0.8681 MB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.3664, allocations: 164.9 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.3667, allocations: 88.3 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.3667, allocations: 4 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003858/0.3671, allocations: 187.5 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/0.3671, allocations: 0 / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0008892/0.368, allocations: 281.5 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.873e-05/0.3681, allocations: 166.1 kB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.3683, allocations: 210.8 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.3684, allocations: 33.7 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.3685, allocations: 124.3 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.3685, allocations: 27.61 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.3686, allocations: 57.75 kB / 1.095 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3688, allocations: 330.8 kB / 1.095 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/0.3691, allocations: 119.9 kB / 1.095 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.3695, allocations: 173.4 kB / 1.095 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005691/0.3701, allocations: 306.8 kB / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3701, allocations: 0 / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008623/0.371, allocations: 404.5 kB / 1.096 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.965e-05/0.3711, allocations: 71.39 kB / 1.096 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3711, allocations: 4 kB / 1.096 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.3711, allocations: 4.219 kB / 1.096 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.3713, allocations: 39.84 kB / 1.096 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.3714, allocations: 4 kB / 1.096 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004456/0.3718, allocations: 71.75 kB / 1.096 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/0.3719, allocations: 19.98 kB / 1.096 GB, free: 8.355 MB / 0.8575 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.000155/0.372, allocations: 137.8 kB / 1.097 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.3721, allocations: 19.8 kB / 1.097 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.3721, allocations: 16.94 kB / 1.097 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.3721, allocations: 8.406 kB / 1.097 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.3722, allocations: 0 / 1.097 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3722, allocations: 4 kB / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.3724, allocations: 249.5 kB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3724, allocations: 0 / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.3726, allocations: 31.97 kB / 1.097 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.3726, allocations: 3.984 kB / 1.097 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.3726, allocations: 8 kB / 1.097 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3726, allocations: 3.938 kB / 1.097 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3726, allocations: 3.938 kB / 1.097 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005549/0.3732, allocations: 260.2 kB / 1.097 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.3733, allocations: 88.92 kB / 1.097 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.3733, allocations: 4 kB / 1.097 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.3734, allocations: 31.91 kB / 1.097 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.447e-05/0.3735, allocations: 15.92 kB / 1.097 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.3735, allocations: 11.98 kB / 1.097 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001577/0.3737, allocations: 148.4 kB / 1.097 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3737, allocations: 0 / 1.097 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003014/0.374, allocations: 51.84 kB / 1.097 GB, free: 7.172 MB / 0.8575 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.0002404/0.3743, allocations: 103.2 kB / 1.098 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007997/0.3751, allocations: 374.5 kB / 1.098 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3751, allocations: 448 / 1.098 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.3754, allocations: 99.86 kB / 1.098 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.3758, allocations: 43.69 kB / 1.098 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007125/0.3765, allocations: 315.2 kB / 1.098 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.3768, allocations: 0.7357 MB / 1.099 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.931e-05/0.3769, allocations: 21.41 kB / 1.099 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.377, allocations: 19.42 kB / 1.099 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of SimCode: time 1.8e-07/0.377, allocations: 0 / 1.099 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of Templates: time 0.00706/0.384, allocations: 3.219 MB / 1.102 GB, free: 2.207 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches