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.001477/0.001478, allocations: 104 kB / 16.41 MB, free: 6.504 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.001688/0.001688, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.496/1.496, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.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.252/2.252, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 67.91 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8688/0.8711, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002056/0.8732, allocations: 0.9914 MB / 1.09 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.8746, allocations: 1.282 MB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.307e-05/0.8747, allocations: 1.125 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.8748, allocations: 15.36 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.233e-05/0.8749, allocations: 40.95 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006407/0.8756, allocations: 252.6 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003695/0.8759, allocations: 342.8 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.8761, allocations: 49.2 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.8762, allocations: 123.1 kB / 1.092 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.8764, allocations: 117.9 kB / 1.092 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.709e-05/0.8765, allocations: 30.19 kB / 1.092 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.8766, allocations: 44.64 kB / 1.092 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.8767, allocations: 39.81 kB / 1.092 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.8768, allocations: 120 kB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003992/0.8772, allocations: 334 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.8772, allocations: 4 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8772, allocations: 0.875 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.8772, allocations: 0 / 1.092 GB, free: 3.223 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.0008182/0.8781, allocations: 0.5681 MB / 1.093 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.8781, allocations: 9.375 kB / 1.093 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.372e-05/0.8782, allocations: 21.8 kB / 1.093 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.8784, allocations: 253.8 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.8785, allocations: 15.34 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.8785, allocations: 13.42 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.879, allocations: 166.6 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.879, allocations: 4.938 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.879, allocations: 13.91 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.879, allocations: 7.141 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005085/0.8795, allocations: 136.5 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00096/0.8805, allocations: 0.8769 MB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/0.8808, allocations: 163.7 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.8811, allocations: 90.77 kB / 1.095 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.8811, allocations: 2.328 kB / 1.095 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004474/0.8816, allocations: 183.6 kB / 1.095 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.8816, allocations: 0 / 1.095 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.001012/0.8826, allocations: 281.4 kB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.8827, allocations: 166 kB / 1.095 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.8829, allocations: 206.1 kB / 1.095 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.8829, allocations: 35.36 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.176e-05/0.883, allocations: 129.3 kB / 1.095 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.883, allocations: 30.89 kB / 1.096 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.8831, allocations: 55.08 kB / 1.096 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.368e-05/0.8832, allocations: 328.6 kB / 1.096 GB, free: 328 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.8836, allocations: 116.9 kB / 1.096 GB, free: 296 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/0.884, allocations: 175.6 kB / 1.096 GB, free: 184 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006799/0.8847, allocations: 295.1 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.8847, allocations: 1.062 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001037/0.8857, allocations: 403.4 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.406e-05/0.8858, allocations: 73.94 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.8858, allocations: 2.906 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.8858, allocations: 6.125 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.886, allocations: 31.25 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.886, allocations: 3.453 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004663/0.8865, allocations: 80.81 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.8866, allocations: 18 kB / 1.097 GB, free: 15.69 MB / 0.8731 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.0001507/0.8867, allocations: 147.5 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.8868, allocations: 17.33 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.8868, allocations: 20.03 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.8868, allocations: 6.438 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.8868, allocations: 6.281 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.8869, allocations: 1.812 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.8871, allocations: 247 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.8871, allocations: 1.344 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.8873, allocations: 29.62 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.8873, allocations: 1.906 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.8873, allocations: 2.953 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.8873, allocations: 11.11 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.8873, allocations: 1.062 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006562/0.888, allocations: 252.6 kB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.8881, allocations: 100.3 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.8881, allocations: 2.516 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.8883, allocations: 22.38 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.031e-05/0.8883, allocations: 19.03 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.8884, allocations: 9.828 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001462/0.8885, allocations: 154.1 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8885, allocations: 0 / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003058/0.8888, allocations: 44.97 kB / 1.098 GB, free: 14.93 MB / 0.8731 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.0001657/0.889, allocations: 114.4 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008703/0.8899, allocations: 377.7 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8899, allocations: 3.938 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003471/0.8903, allocations: 104.1 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.8906, allocations: 51.72 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006561/0.8913, allocations: 354.8 kB / 1.099 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.8916, allocations: 0.7265 MB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.457e-05/0.8917, allocations: 16.84 kB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/0.8917, allocations: 0 / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of Templates: time 0.005635/0.8973, allocations: 2.723 MB / 1.102 GB, free: 13.33 MB / 0.8731 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/jenkins1/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