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 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.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.001606/0.00161, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002026/0.002026, allocations: 193.1 kB / 16.14 MB, free: 6.711 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.484/1.484, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.014/3.014, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.31 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3583, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002684/0.3611, allocations: 0.7567 MB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002115/0.3632, allocations: 1.283 MB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.41e-05/0.3634, allocations: 3.938 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.3635, allocations: 7.875 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.074e-05/0.3636, allocations: 11.92 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008534/0.3645, allocations: 226.1 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000315/0.3648, allocations: 215.6 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.365, allocations: 39.97 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.3652, allocations: 95.73 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.3655, allocations: 95.77 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.428e-05/0.3656, allocations: 12 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.833e-05/0.3657, allocations: 19.98 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.3658, allocations: 35.84 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.3659, allocations: 75.7 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.3662, allocations: 207.6 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.3662, allocations: 15.92 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3663, allocations: 0 / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.3663, allocations: 0 / 1.071 GB, free: 7.734 MB / 0.8262 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.0007882/0.3671, allocations: 490.4 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3671, allocations: 8.031 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.495e-05/0.3672, allocations: 20.75 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006818/0.3679, allocations: 260.1 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.3679, allocations: 16.38 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/0.368, allocations: 16.38 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.3683, allocations: 131.2 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.3683, allocations: 7.875 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.3683, allocations: 0 / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.3683, allocations: 4 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.3684, allocations: 47.97 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008894/0.3693, allocations: 0.6611 MB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.583e-05/0.3694, allocations: 49.16 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.969e-05/0.3695, allocations: 17.77 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.3695, allocations: 0 / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002495/0.3697, allocations: 96.94 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.3697, allocations: 0 / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.000311/0.3701, allocations: 105.5 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/0.3701, allocations: 77.11 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.3703, allocations: 172.7 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.3704, allocations: 33.64 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.3705, allocations: 119.9 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.3705, allocations: 15.73 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.3707, allocations: 61.69 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3708, allocations: 322.8 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.371, allocations: 55.95 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.3712, allocations: 106.8 kB / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.3714, allocations: 178.5 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3714, allocations: 0 / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004866/0.3719, allocations: 268.7 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.625e-05/0.372, allocations: 64.8 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.372, allocations: 7.938 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.372, allocations: 0 / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.094e-05/0.3721, allocations: 11.98 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.3721, allocations: 4 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.3724, allocations: 56.09 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.3725, allocations: 8 kB / 1.074 GB, free: 3.93 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.0001633/0.3726, allocations: 144 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.3727, allocations: 19.83 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.3727, allocations: 8.25 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3728, allocations: 4 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.3728, allocations: 0 / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3728, allocations: 0 / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.373, allocations: 209.6 kB / 1.074 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.373, allocations: 3.938 kB / 1.074 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.787e-06/0.373, allocations: 0 / 1.074 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.373, allocations: 0 / 1.074 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.373, allocations: 4 kB / 1.074 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.3731, allocations: 3.984 kB / 1.074 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3731, allocations: 0 / 1.074 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.3733, allocations: 121.7 kB / 1.074 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.065e-05/0.3733, allocations: 88.94 kB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.3734, allocations: 8 kB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.186e-05/0.3734, allocations: 0 / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.3734, allocations: 7.984 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.3735, allocations: 0 / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.565e-05/0.3736, allocations: 127.3 kB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3736, allocations: 0 / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002762/0.3738, allocations: 31.91 kB / 1.075 GB, free: 3.062 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.0002252/0.3741, allocations: 123.2 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004285/0.3745, allocations: 234.6 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3745, allocations: 0 / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.08e-05/0.3746, allocations: 19.98 kB / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.3749, allocations: 27.52 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006141/0.3755, allocations: 274 kB / 1.075 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.3759, allocations: 0.716 MB / 1.076 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.702e-05/0.376, allocations: 8.891 kB / 1.076 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.376, allocations: 11.44 kB / 1.076 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.376, allocations: 0 / 1.076 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of Templates: time 0.005737/0.3817, allocations: 1.75 MB / 1.078 GB, free: 15.85 MB / 0.8419 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