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.001471/0.001471, allocations: 112.9 kB / 16.42 MB, free: 6.484 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.00154/0.00154, allocations: 191.8 kB / 17.35 MB, free: 5.75 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.565/2.565, allocations: 461.7 MB / 0.7352 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 59.91 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.007, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002331/1.01, allocations: 1.002 MB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002036/1.012, allocations: 1.334 MB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/1.012, allocations: 4 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001491/1.012, allocations: 23.73 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001302/1.012, allocations: 31.66 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009184/1.013, allocations: 281.5 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005561/1.014, allocations: 399.2 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/1.014, allocations: 65.66 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/1.014, allocations: 151.6 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/1.014, allocations: 131.5 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.565e-05/1.014, allocations: 32 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/1.015, allocations: 63.89 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.528e-05/1.015, allocations: 55.84 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001745/1.015, allocations: 135.4 kB / 1.212 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004628/1.015, allocations: 400.4 kB / 1.212 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/1.015, allocations: 4 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.134e-06/1.015, allocations: 7.938 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.227e-06/1.015, allocations: 0 / 1.212 GB, free: 9.492 MB / 0.9356 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.001103/1.017, allocations: 0.6187 MB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/1.017, allocations: 8.031 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/1.017, allocations: 32.64 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009406/1.018, allocations: 374.7 kB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/1.018, allocations: 20.38 kB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-05/1.018, allocations: 20.38 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004406/1.018, allocations: 207.6 kB / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/1.018, allocations: 7.922 kB / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/1.018, allocations: 8 kB / 1.213 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/1.018, allocations: 4 kB / 1.213 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004792/1.019, allocations: 139.8 kB / 1.214 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/1.02, allocations: 0.8992 MB / 1.214 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/1.02, allocations: 157 kB / 1.215 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/1.021, allocations: 76.25 kB / 1.215 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/1.021, allocations: 7.984 kB / 1.215 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004435/1.021, allocations: 175.5 kB / 1.215 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 2.364e-06/1.021, allocations: 0 / 1.215 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0009095/1.022, allocations: 257.3 kB / 1.215 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.094e-05/1.022, allocations: 162.2 kB / 1.215 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/1.022, allocations: 217 kB / 1.215 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.849e-05/1.022, allocations: 33.7 kB / 1.216 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/1.023, allocations: 148.4 kB / 1.216 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/1.023, allocations: 39.53 kB / 1.216 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/1.023, allocations: 57.69 kB / 1.216 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001761/1.023, allocations: 330.8 kB / 1.216 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/1.023, allocations: 103.9 kB / 1.216 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/1.024, allocations: 177.3 kB / 1.216 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000604/1.024, allocations: 274.9 kB / 1.217 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.024, allocations: 0 / 1.217 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008822/1.025, allocations: 372.7 kB / 1.217 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.099e-05/1.025, allocations: 67.39 kB / 1.217 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/1.025, allocations: 4 kB / 1.217 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/1.025, allocations: 4 kB / 1.217 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/1.026, allocations: 23.97 kB / 1.217 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/1.026, allocations: 4 kB / 1.217 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/1.026, allocations: 91.77 kB / 1.217 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/1.026, allocations: 12 kB / 1.217 GB, free: 3.973 MB / 0.9356 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.0001797/1.026, allocations: 161.2 kB / 1.217 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/1.026, allocations: 19.81 kB / 1.217 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/1.026, allocations: 21.19 kB / 1.217 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/1.026, allocations: 7.984 kB / 1.217 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.026, allocations: 4 kB / 1.217 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-05/1.026, allocations: 92.83 kB / 1.217 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/1.027, allocations: 8 kB / 1.217 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/1.027, allocations: 23.97 kB / 1.217 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/1.027, allocations: 15.92 kB / 1.217 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007633/1.027, allocations: 0.5686 MB / 1.218 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007263/1.028, allocations: 0.6598 MB / 1.219 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002884/1.029, allocations: 71.88 kB / 1.219 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001407/1.029, allocations: 164.5 kB / 1.219 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of Backend: time 7.02e-07/1.029, allocations: 0 / 1.219 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001209/1.03, allocations: 363.2 kB / 1.219 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001078/1.031, allocations: 0.8151 MB / 1.22 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of Templates: time 0.007795/1.039, allocations: 3.381 MB / 1.223 GB, free: 13.52 MB / 0.9512 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/jenkins1/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