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.0009301/0.0009303, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008265/0.008265, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.477/1.477, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.942/2.942, allocations: 462.7 MB / 0.7364 GB, free: 280 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004247/0.0004249, allocations: 12.81 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3425, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.0008908/0.3435, allocations: 441.5 kB / 1.059 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.3451, allocations: 1.268 MB / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.971e-05/0.3452, allocations: 0 / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.361e-05/0.3453, allocations: 11.86 kB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.873e-05/0.3453, allocations: 11.92 kB / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000662/0.346, allocations: 222.2 kB / 1.061 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.3462, allocations: 219.6 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.3464, allocations: 31.98 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.3465, allocations: 95.73 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.3467, allocations: 87.77 kB / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.3468, allocations: 12 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.862e-05/0.3469, allocations: 19.98 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.692e-05/0.3469, allocations: 31.92 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.347, allocations: 101.3 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.3473, allocations: 207.6 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3473, allocations: 4 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3473, allocations: 0 / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.3473, allocations: 0 / 1.061 GB, free: 2.727 MB / 0.8106 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.0005385/0.3478, allocations: 450.5 kB / 1.062 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3479, allocations: 12.03 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.508e-05/0.348, allocations: 24.73 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006105/0.3486, allocations: 264.1 kB / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.3486, allocations: 8.375 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.3487, allocations: 20.36 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.3489, allocations: 134.8 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3489, allocations: 7.938 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3489, allocations: 0 / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3489, allocations: 4 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.68e-05/0.349, allocations: 51.91 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006576/0.3497, allocations: 0.6572 MB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.549e-05/0.3498, allocations: 45.2 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.092e-05/0.3498, allocations: 13.72 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.3498, allocations: 12 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.35, allocations: 89.03 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.35, allocations: 0 / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002551/0.3503, allocations: 105.4 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.3503, allocations: 89.05 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.3505, allocations: 174.9 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.3505, allocations: 33.7 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.811e-05/0.3506, allocations: 119.9 kB / 1.064 GB, free: 188 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.3507, allocations: 7.812 kB / 1.064 GB, free: 180 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.199e-05/0.3507, allocations: 33.7 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3509, allocations: 322.8 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.351, allocations: 51.97 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.3511, allocations: 106.8 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.3514, allocations: 178.1 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3514, allocations: 0 / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004046/0.3518, allocations: 264.7 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.206e-05/0.3518, allocations: 67.39 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.3519, allocations: 4.375 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3519, allocations: 8.188 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.518e-05/0.3519, allocations: 4 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3519, allocations: 7.984 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.3523, allocations: 67.95 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.3523, allocations: 19.92 kB / 1.065 GB, free: 14.96 MB / 0.8262 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.0001238/0.3525, allocations: 145.7 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.3525, allocations: 15.83 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/0.3525, allocations: 12.23 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3525, allocations: 0 / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3526, allocations: 4 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3526, allocations: 4 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.3527, allocations: 205.6 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.3527, allocations: 3.938 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.057e-06/0.3528, allocations: 4 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3528, allocations: 0 / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.3528, allocations: 0 / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3528, allocations: 0 / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3528, allocations: 4 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.3529, allocations: 117.8 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.953e-05/0.353, allocations: 96.84 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.353, allocations: 0 / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.252e-05/0.3531, allocations: 0 / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.3531, allocations: 4 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.3531, allocations: 7.984 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.072e-05/0.3532, allocations: 115.2 kB / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3532, allocations: 0 / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002564/0.3535, allocations: 44 kB / 1.065 GB, free: 14.09 MB / 0.8262 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.0001515/0.3536, allocations: 103.2 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003363/0.354, allocations: 234.6 kB / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.354, allocations: 0 / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.405e-05/0.354, allocations: 23.98 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.3543, allocations: 24.42 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005069/0.3548, allocations: 284.7 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.3551, allocations: 0.7121 MB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.112e-05/0.3552, allocations: 12.88 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.015e-05/0.3552, allocations: 11.44 kB / 1.067 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3552, allocations: 0 / 1.067 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of Templates: time 0.004903/0.3601, allocations: 1.763 MB / 1.068 GB, free: 10.86 MB / 0.8262 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/jenkins/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