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.001199/0.001199, 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.001215/0.001215, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.427/1.427, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.924/2.924, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 65.27 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3598, allocations: 157.4 MB / 1.052 GB, free: 8.805 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002493/0.3624, allocations: 0.7662 MB / 1.053 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002108/0.3645, allocations: 1.275 MB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.4e-05/0.3646, allocations: 4 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.3648, allocations: 7.922 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.179e-05/0.3648, allocations: 15.92 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007657/0.3656, allocations: 218 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.3659, allocations: 211.7 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.3661, allocations: 35.97 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.3662, allocations: 95.75 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.3666, allocations: 95.75 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.439e-05/0.3666, allocations: 12 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-05/0.3667, allocations: 23.98 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.973e-05/0.3668, allocations: 39.78 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.3669, allocations: 75.69 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.3672, allocations: 215.5 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3672, allocations: 3.938 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3672, allocations: 4 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.3673, allocations: 0 / 1.055 GB, free: 5.715 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.000959/0.3682, allocations: 498.3 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3683, allocations: 8.031 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.466e-05/0.3683, allocations: 24.73 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005959/0.3689, allocations: 259.3 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.369, allocations: 20.36 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.369, allocations: 12.38 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.3692, allocations: 127.1 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3693, allocations: 7.938 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.3693, allocations: 4 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.3693, allocations: 4 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.657e-05/0.3694, allocations: 51.91 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007557/0.3702, allocations: 0.6611 MB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.744e-05/0.3702, allocations: 37.22 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.39e-05/0.3703, allocations: 21.7 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-06/0.3703, allocations: 4 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.3705, allocations: 96.97 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3705, allocations: 0 / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002587/0.3708, allocations: 97.42 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.3709, allocations: 81.11 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.3711, allocations: 175.4 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.3711, allocations: 33.64 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.767e-05/0.3712, allocations: 119.9 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.3713, allocations: 19.8 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.3714, allocations: 53.69 kB / 1.057 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3715, allocations: 326.8 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.3717, allocations: 51.97 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.3718, allocations: 102.8 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.372, allocations: 174.2 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.372, allocations: 0 / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004378/0.3725, allocations: 277 kB / 1.058 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.27e-05/0.3725, allocations: 63.39 kB / 1.058 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.3726, allocations: 7.984 kB / 1.058 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3726, allocations: 0 / 1.058 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.277e-05/0.3726, allocations: 4 kB / 1.058 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.3726, allocations: 8.031 kB / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.373, allocations: 64.03 kB / 1.058 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.373, allocations: 11.98 kB / 1.058 GB, free: 1.898 MB / 0.8106 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.0001228/0.3731, allocations: 138.4 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.3731, allocations: 11.84 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.558e-05/0.3732, allocations: 16.23 kB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.3732, allocations: 4 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3732, allocations: 0 / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3732, allocations: 4 kB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.3734, allocations: 197.6 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3734, allocations: 7.938 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.83e-05/0.3734, allocations: 0 / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3734, allocations: 3.938 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.3735, allocations: 8 kB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3735, allocations: 0 / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3735, allocations: 0 / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.3736, allocations: 113.9 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.524e-05/0.3737, allocations: 92.86 kB / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.3737, allocations: 7.984 kB / 1.059 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.181e-05/0.3737, allocations: 0 / 1.059 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.3738, allocations: 8 kB / 1.059 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.3738, allocations: 0 / 1.059 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.758e-05/0.3739, allocations: 126.2 kB / 1.059 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3739, allocations: 0 / 1.059 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002574/0.3741, allocations: 36 kB / 1.059 GB, free: 1.039 MB / 0.8106 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.0001814/0.3743, allocations: 115.1 kB / 1.059 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003393/0.3747, allocations: 234.7 kB / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3747, allocations: 0 / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.307e-05/0.3747, allocations: 23.92 kB / 1.06 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.375, allocations: 41.23 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004941/0.3755, allocations: 266 kB / 1.06 GB, free: 320 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.3758, allocations: 0.7082 MB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.742e-05/0.3759, allocations: 12.88 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.3759, allocations: 11.44 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3759, allocations: 0 / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of Templates: time 0.004539/0.3805, allocations: 1.772 MB / 1.062 GB, free: 13.81 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