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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.0009205/0.0009205, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0009246/0.0009247, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 223.3 MB / 240 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.943/2.943, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003453, allocations: 16.28 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3481, allocations: 159.6 MB / 1.058 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001291/0.3495, allocations: 0.6898 MB / 1.059 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00183/0.3513, allocations: 1.311 MB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.959e-05/0.3514, allocations: 3.938 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.473e-05/0.3516, allocations: 11.86 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.3517, allocations: 31.78 kB / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007026/0.3524, allocations: 225.4 kB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003439/0.3527, allocations: 315.2 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.3529, allocations: 45.66 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/0.3531, allocations: 135.6 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.3534, allocations: 127.5 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.529e-05/0.3535, allocations: 16 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.29e-05/0.3536, allocations: 19.98 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.453e-05/0.3536, allocations: 51.72 kB / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.64e-05/0.3537, allocations: 69.56 kB / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.354, allocations: 279.5 kB / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.354, allocations: 0 / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.134e-06/0.354, allocations: 0 / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.3541, allocations: 0 / 1.061 GB, free: 2.02 MB / 0.8106 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.0008959/0.355, allocations: 0.5681 MB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.355, allocations: 12.02 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.651e-05/0.3551, allocations: 27.72 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009632/0.3561, allocations: 390.6 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.3561, allocations: 23.95 kB / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-05/0.3562, allocations: 16 kB / 1.062 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004766/0.3567, allocations: 213.8 kB / 1.062 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3567, allocations: 3.938 kB / 1.062 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.3567, allocations: 4 kB / 1.062 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3567, allocations: 4 kB / 1.062 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000455/0.3572, allocations: 163.8 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.3583, allocations: 0.9187 MB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003037/0.3586, allocations: 168.9 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.3589, allocations: 96.31 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.3589, allocations: 0 / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003952/0.3593, allocations: 183.5 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.893e-06/0.3593, allocations: 0 / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0008737/0.3602, allocations: 297.8 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.793e-05/0.3603, allocations: 166.1 kB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.3605, allocations: 217 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.3606, allocations: 33.7 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.3607, allocations: 156.2 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.3607, allocations: 23.62 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.3607, allocations: 8 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.3609, allocations: 342.8 kB / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.3612, allocations: 107.9 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003276/0.3616, allocations: 167.6 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.3619, allocations: 179.3 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3619, allocations: 7.938 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008253/0.3627, allocations: 388.5 kB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.686e-05/0.3628, allocations: 67.62 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.3628, allocations: 3.938 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3629, allocations: 4.141 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.363, allocations: 31.97 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.363, allocations: 7.938 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004316/0.3635, allocations: 111.7 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.3635, allocations: 11.98 kB / 1.066 GB, free: 12.55 MB / 0.8262 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,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.pul1.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001708/0.3637, allocations: 155.5 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.3637, allocations: 15.81 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.897e-05/0.3638, allocations: 25.23 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3638, allocations: 0 / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.3638, allocations: 4 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3638, allocations: 0 / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.3641, allocations: 269.3 kB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3641, allocations: 0 / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.3643, allocations: 35.91 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3643, allocations: 4 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.3643, allocations: 0 / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.3643, allocations: 4 kB / 1.067 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.369e-05/0.3643, allocations: 4 kB / 1.067 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005755/0.3649, allocations: 264.1 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.679e-05/0.365, allocations: 96.88 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.365, allocations: 4 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.3652, allocations: 27.97 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.392e-05/0.3652, allocations: 11.98 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.3653, allocations: 11.98 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001553/0.3654, allocations: 156.5 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3654, allocations: 4 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003154/0.3658, allocations: 51.84 kB / 1.067 GB, free: 11.32 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001796/0.3659, allocations: 107.2 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007779/0.3667, allocations: 358.6 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3667, allocations: 4.375 kB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002839/0.367, allocations: 91.88 kB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.3674, allocations: 59.97 kB / 1.068 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007207/0.3682, allocations: 440.2 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.3685, allocations: 0.74 MB / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001393/0.3686, allocations: 41.52 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.243e-05/0.3687, allocations: 15.44 kB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3687, allocations: 3.938 kB / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of Templates: time 0.006468/0.3752, allocations: 2.67 MB / 1.072 GB, free: 6.766 MB / 0.8262 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