Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 107.5 kB / 16.41 MB, free: 6.508 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.001309/0.001309, allocations: 187 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.466/2.466, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 59.91 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7382/0.7396, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.00175/0.7414, allocations: 0.6973 MB / 1.209 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.7429, allocations: 1.256 MB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.312e-05/0.743, allocations: 4 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.414e-05/0.7431, allocations: 7.875 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.209e-05/0.7432, allocations: 15.84 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007117/0.7439, allocations: 242.5 kB / 1.211 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003/0.7442, allocations: 255.6 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.7443, allocations: 39.92 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.7445, allocations: 103.8 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.7446, allocations: 83.72 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.231e-05/0.7447, allocations: 20 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.7448, allocations: 47.95 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.7449, allocations: 31.92 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.745, allocations: 83.64 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.7453, allocations: 242.9 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.7453, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.545e-06/0.7453, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.7453, allocations: 0 / 1.211 GB, free: 10.68 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005512/0.7459, allocations: 0.5005 MB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.7459, allocations: 12.03 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.94e-05/0.746, allocations: 20.75 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005226/0.7465, allocations: 254.5 kB / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.7466, allocations: 16.36 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.7466, allocations: 12.38 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.7468, allocations: 138.6 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.7468, allocations: 3.938 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.7468, allocations: 4 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.7468, allocations: 4 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.35e-05/0.7469, allocations: 47.91 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006253/0.7476, allocations: 0.6689 MB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.685e-05/0.7476, allocations: 41.16 kB / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.555e-05/0.7477, allocations: 17.77 kB / 1.213 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.7477, allocations: 4 kB / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.7479, allocations: 100.9 kB / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 9.628e-06/0.7479, allocations: 0 / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0002305/0.7481, allocations: 101.5 kB / 1.213 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.7482, allocations: 81.09 kB / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.7483, allocations: 178.5 kB / 1.214 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.7483, allocations: 29.7 kB / 1.214 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.56e-05/0.7484, allocations: 119.9 kB / 1.214 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.7485, allocations: 23.73 kB / 1.214 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.221e-05/0.7486, allocations: 57.69 kB / 1.214 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.7487, allocations: 322.8 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.7488, allocations: 55.95 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.7489, allocations: 124.5 kB / 1.214 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.7491, allocations: 170.2 kB / 1.214 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.7491, allocations: 0 / 1.214 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003849/0.7495, allocations: 269 kB / 1.215 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.305e-05/0.7496, allocations: 67.39 kB / 1.215 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.7496, allocations: 4 kB / 1.215 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.7496, allocations: 4.25 kB / 1.215 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.047e-05/0.7497, allocations: 7.938 kB / 1.215 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.7497, allocations: 4 kB / 1.215 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003864/0.7501, allocations: 67.83 kB / 1.215 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.7501, allocations: 15.97 kB / 1.215 GB, free: 6.812 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.0001209/0.7502, allocations: 137.8 kB / 1.215 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.7502, allocations: 15.84 kB / 1.215 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.7503, allocations: 12.25 kB / 1.215 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7503, allocations: 0 / 1.215 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.7503, allocations: 0 / 1.215 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.7503, allocations: 3.984 kB / 1.215 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.7505, allocations: 205.6 kB / 1.215 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7505, allocations: 3.938 kB / 1.215 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.666e-06/0.7505, allocations: 3.984 kB / 1.215 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.7505, allocations: 4 kB / 1.215 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.7505, allocations: 8 kB / 1.215 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.7505, allocations: 0 / 1.215 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.7505, allocations: 0 / 1.215 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.7506, allocations: 113.8 kB / 1.215 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.825e-05/0.7507, allocations: 88.89 kB / 1.215 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.7507, allocations: 4 kB / 1.215 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.274e-05/0.7507, allocations: 8 kB / 1.215 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.7508, allocations: 19.92 kB / 1.215 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.7508, allocations: 4 kB / 1.215 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.719e-05/0.7509, allocations: 115.2 kB / 1.216 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7509, allocations: 0 / 1.216 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002495/0.7511, allocations: 35.91 kB / 1.216 GB, free: 5.938 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001349/0.7513, allocations: 115.2 kB / 1.216 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003044/0.7516, allocations: 235.2 kB / 1.216 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7516, allocations: 3.938 kB / 1.216 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.548e-05/0.7516, allocations: 27.92 kB / 1.216 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.7519, allocations: 23.92 kB / 1.216 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.7523, allocations: 267.7 kB / 1.216 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.7525, allocations: 0.7119 MB / 1.217 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.7526, allocations: 19.44 kB / 1.217 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.7526, allocations: 0 / 1.217 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of Templates: time 0.003657/0.7562, allocations: 1.971 MB / 1.219 GB, free: 2.508 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches