Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_10_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_10_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.001666/0.001666, allocations: 109.6 kB / 16.41 MB, free: 6.406 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.001942/0.001942, allocations: 190.1 kB / 17.34 MB, free: 5.695 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.455/2.455, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 63.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8259/0.8274, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002309/0.8297, allocations: 1.014 MB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001843/0.8316, allocations: 1.331 MB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.786e-05/0.8317, allocations: 4 kB / 1.17 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.8319, allocations: 19.73 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.832, allocations: 43.66 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008236/0.8328, allocations: 272.9 kB / 1.17 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004654/0.8333, allocations: 403.2 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.8335, allocations: 65.66 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.8337, allocations: 155.6 kB / 1.171 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.834, allocations: 127.6 kB / 1.171 GB, free: 416 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.712e-05/0.8341, allocations: 36 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.8342, allocations: 59.91 kB / 1.171 GB, free: 320 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.099e-05/0.8343, allocations: 59.78 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.8344, allocations: 135.4 kB / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004462/0.8349, allocations: 400.4 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8349, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8349, allocations: 4 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.8349, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 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.001013/0.836, allocations: 0.6187 MB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.836, allocations: 16.91 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.617e-05/0.8361, allocations: 28.66 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009444/0.8371, allocations: 374.8 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.8371, allocations: 12.38 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.8372, allocations: 20.38 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.8376, allocations: 210.3 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.8376, allocations: 3.938 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.8377, allocations: 4 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.8377, allocations: 4 kB / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004762/0.8382, allocations: 143.8 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.8394, allocations: 0.907 MB / 1.174 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.8397, allocations: 149 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.84, allocations: 84.23 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.84, allocations: 4 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004522/0.8405, allocations: 179.4 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 2.104e-06/0.8405, allocations: 0 / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0009202/0.8414, allocations: 261.4 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.064e-05/0.8415, allocations: 158.2 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.8418, allocations: 221 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.8418, allocations: 29.7 kB / 1.175 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.8419, allocations: 152.3 kB / 1.175 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.842, allocations: 35.64 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.8421, allocations: 57.69 kB / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.8423, allocations: 338.8 kB / 1.175 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.8426, allocations: 95.92 kB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/0.843, allocations: 177.3 kB / 1.175 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006152/0.8436, allocations: 278.9 kB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.8436, allocations: 0 / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009027/0.8446, allocations: 368.8 kB / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.894e-05/0.8446, allocations: 67.39 kB / 1.176 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.8446, allocations: 4 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.8447, allocations: 4 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.8449, allocations: 23.97 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.8449, allocations: 7.938 kB / 1.176 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005177/0.8454, allocations: 91.73 kB / 1.176 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.8455, allocations: 16 kB / 1.176 GB, free: 10.2 MB / 0.9044 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.0001973/0.8457, allocations: 149.8 kB / 1.176 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.8457, allocations: 19.81 kB / 1.176 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.063e-05/0.8458, allocations: 21.23 kB / 1.176 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.8458, allocations: 4 kB / 1.176 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.8458, allocations: 0 / 1.176 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.8458, allocations: 8 kB / 1.176 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.8461, allocations: 261.4 kB / 1.177 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.8461, allocations: 0 / 1.177 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.8463, allocations: 23.92 kB / 1.177 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.8463, allocations: 11.92 kB / 1.177 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.8463, allocations: 4 kB / 1.177 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.8463, allocations: 4 kB / 1.177 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8463, allocations: 0 / 1.177 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005868/0.8469, allocations: 236.1 kB / 1.177 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.881e-05/0.847, allocations: 96.86 kB / 1.177 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.847, allocations: 8 kB / 1.177 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.8472, allocations: 23.97 kB / 1.177 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.8472, allocations: 11.98 kB / 1.177 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.8473, allocations: 7.938 kB / 1.177 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001442/0.8474, allocations: 168.4 kB / 1.177 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8474, allocations: 0 / 1.177 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003356/0.8478, allocations: 51.91 kB / 1.177 GB, free: 8.996 MB / 0.9044 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.0001907/0.848, allocations: 111.2 kB / 1.177 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007875/0.8487, allocations: 346.6 kB / 1.178 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.8488, allocations: 0 / 1.178 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002919/0.8491, allocations: 83.81 kB / 1.178 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.8495, allocations: 53.73 kB / 1.178 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009063/0.8504, allocations: 414.7 kB / 1.178 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.8508, allocations: 0.7437 MB / 1.179 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.996e-05/0.8509, allocations: 23.44 kB / 1.179 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of SimCode: time 6.51e-07/0.8509, allocations: 0 / 1.179 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of Templates: time 0.006411/0.8573, allocations: 3.172 MB / 1.182 GB, free: 4.008 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches