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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001503/0.001503, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001502/0.001502, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.692/2.692, allocations: 482.4 MB / 0.7553 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 73.06 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6892/0.6911, allocations: 162.2 MB / 1.083 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002139/0.6933, allocations: 1.008 MB / 1.084 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.6949, allocations: 1.337 MB / 1.085 GB, free: 20 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.841e-05/0.695, allocations: 2.031 kB / 1.085 GB, free: 20 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.6951, allocations: 20.03 kB / 1.085 GB, free: 4 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.6953, allocations: 37.75 kB / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007273/0.696, allocations: 267.6 kB / 1.086 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004645/0.6965, allocations: 392.7 kB / 1.086 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.6966, allocations: 71.14 kB / 1.086 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.6969, allocations: 152.5 kB / 1.086 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.6971, allocations: 145.2 kB / 1.086 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.276e-05/0.6972, allocations: 33.91 kB / 1.086 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.6973, allocations: 51.25 kB / 1.086 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.561e-05/0.6974, allocations: 57.3 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.6976, allocations: 140.3 kB / 1.087 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004244/0.698, allocations: 378.7 kB / 1.087 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.698, allocations: 0.7031 kB / 1.087 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.173e-06/0.698, allocations: 0 / 1.087 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.698, allocations: 1.062 kB / 1.087 GB, free: 15.24 MB / 0.8419 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.0009844/0.699, allocations: 0.6135 MB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.6991, allocations: 8.938 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.031e-05/0.6992, allocations: 30.12 kB / 1.088 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009828/0.7001, allocations: 379.2 kB / 1.088 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.7002, allocations: 17.31 kB / 1.088 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/0.7002, allocations: 20.42 kB / 1.088 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004602/0.7007, allocations: 205.5 kB / 1.088 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.7007, allocations: 9.25 kB / 1.088 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.7008, allocations: 5 kB / 1.088 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.7008, allocations: 3.875 kB / 1.088 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004769/0.7012, allocations: 140.1 kB / 1.088 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.7024, allocations: 0.9007 MB / 1.089 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.7028, allocations: 151.6 kB / 1.089 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.703, allocations: 82.45 kB / 1.089 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.7031, allocations: 1.219 kB / 1.089 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004023/0.7035, allocations: 165.7 kB / 1.09 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.7035, allocations: 0 / 1.09 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.0008949/0.7044, allocations: 261.5 kB / 1.09 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.864e-05/0.7045, allocations: 161.9 kB / 1.09 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.7048, allocations: 222.2 kB / 1.09 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.7048, allocations: 34.92 kB / 1.09 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.705, allocations: 147.7 kB / 1.09 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.705, allocations: 35.28 kB / 1.09 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.7051, allocations: 54.33 kB / 1.09 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.7053, allocations: 338.9 kB / 1.091 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.7056, allocations: 103.3 kB / 1.091 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.706, allocations: 155.3 kB / 1.091 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000615/0.7066, allocations: 272.7 kB / 1.091 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.7066, allocations: 0.875 kB / 1.091 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009168/0.7076, allocations: 371 kB / 1.092 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.857e-05/0.7076, allocations: 63.3 kB / 1.092 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.7077, allocations: 1.25 kB / 1.092 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.7077, allocations: 12.73 kB / 1.092 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.7078, allocations: 24.36 kB / 1.092 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.7079, allocations: 11.34 kB / 1.092 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004295/0.7083, allocations: 79.14 kB / 1.092 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.7083, allocations: 12.91 kB / 1.092 GB, free: 11.69 MB / 0.8419 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.000162/0.7085, allocations: 158.6 kB / 1.092 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.7085, allocations: 17.97 kB / 1.092 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.518e-05/0.7086, allocations: 26.44 kB / 1.092 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.7086, allocations: 2.344 kB / 1.092 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.7086, allocations: 2.406 kB / 1.092 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.7086, allocations: 6.719 kB / 1.092 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.7089, allocations: 259.7 kB / 1.092 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.7089, allocations: 1.719 kB / 1.092 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.7091, allocations: 24.47 kB / 1.092 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.7091, allocations: 2.312 kB / 1.092 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.7091, allocations: 2.812 kB / 1.092 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.7091, allocations: 10.81 kB / 1.092 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7091, allocations: 1.125 kB / 1.092 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006301/0.7098, allocations: 242.7 kB / 1.093 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.318e-05/0.7099, allocations: 96.22 kB / 1.093 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.7099, allocations: 2.891 kB / 1.093 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.7101, allocations: 17.36 kB / 1.093 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.7101, allocations: 21.89 kB / 1.093 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.7102, allocations: 10.14 kB / 1.093 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001523/0.7103, allocations: 161.8 kB / 1.093 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7103, allocations: 0 / 1.093 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002842/0.7106, allocations: 48.42 kB / 1.093 GB, free: 10.9 MB / 0.8419 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.0001621/0.7108, allocations: 110.5 kB / 1.093 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000786/0.7116, allocations: 341.6 kB / 1.093 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7116, allocations: 0 / 1.093 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002935/0.7119, allocations: 86.27 kB / 1.093 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.7122, allocations: 49.45 kB / 1.093 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007196/0.713, allocations: 423.1 kB / 1.094 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.7134, allocations: 0.7483 MB / 1.095 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.044e-05/0.7134, allocations: 23.61 kB / 1.095 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.7134, allocations: 0 / 1.095 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of Templates: time 0.006062/0.7195, allocations: 3.028 MB / 1.098 GB, free: 9.277 MB / 0.8419 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=400 -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