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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008953/0.0008955, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.397/1.397, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.715/2.715, allocations: 462.6 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.0003479, allocations: 16.73 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.344, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.0009946/0.345, allocations: 441.5 kB / 1.06 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.347, allocations: 1.268 MB / 1.061 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.483e-05/0.347, allocations: 0 / 1.061 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.3472, allocations: 7.875 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.253e-05/0.3472, allocations: 15.92 kB / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007557/0.348, allocations: 221.7 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002654/0.3483, allocations: 223.6 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.3484, allocations: 35.98 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.3486, allocations: 83.77 kB / 1.062 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.3489, allocations: 91.75 kB / 1.062 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.283e-05/0.3489, allocations: 8 kB / 1.062 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-05/0.349, allocations: 23.98 kB / 1.062 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.377e-05/0.3491, allocations: 23.92 kB / 1.062 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.3492, allocations: 101.3 kB / 1.062 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.3494, allocations: 163.8 kB / 1.062 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3495, allocations: 0 / 1.062 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3495, allocations: 0 / 1.062 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.3495, allocations: 0 / 1.062 GB, free: 2.277 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.0005347/0.35, allocations: 458.5 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3501, allocations: 11.97 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.238e-05/0.3501, allocations: 20.75 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000611/0.3508, allocations: 261.4 kB / 1.063 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.3508, allocations: 12.38 kB / 1.063 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.3509, allocations: 20.38 kB / 1.063 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.3511, allocations: 130.9 kB / 1.063 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3511, allocations: 3.938 kB / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.3511, allocations: 4 kB / 1.063 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3511, allocations: 0 / 1.063 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.257e-05/0.3512, allocations: 51.91 kB / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006566/0.3519, allocations: 0.6611 MB / 1.064 GB, free: 496 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.545e-05/0.352, allocations: 49.14 kB / 1.064 GB, free: 428 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.398e-05/0.352, allocations: 13.78 kB / 1.064 GB, free: 408 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.352, allocations: 0 / 1.064 GB, free: 408 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.3522, allocations: 93.02 kB / 1.064 GB, free: 296 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3522, allocations: 4 kB / 1.064 GB, free: 292 kB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002597/0.3524, allocations: 105.4 kB / 1.064 GB, free: 180 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.3525, allocations: 85.11 kB / 1.064 GB, free: 76 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.3527, allocations: 183.9 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.3527, allocations: 29.7 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.273e-05/0.3528, allocations: 115.9 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.3528, allocations: 15.81 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.597e-05/0.3529, allocations: 33.7 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.353, allocations: 326.8 kB / 1.065 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.3531, allocations: 51.97 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.3533, allocations: 102.8 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.3535, allocations: 174.1 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3535, allocations: 0 / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004113/0.3539, allocations: 268.9 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.157e-05/0.354, allocations: 67.42 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.354, allocations: 4 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.354, allocations: 4 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.073e-05/0.354, allocations: 4 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.3541, allocations: 3.984 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/0.3544, allocations: 79.84 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.3545, allocations: 11.98 kB / 1.065 GB, free: 14.5 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.0001276/0.3546, allocations: 144.1 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.3546, allocations: 15.84 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/0.3547, allocations: 20.23 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3547, allocations: 0 / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3547, allocations: 0 / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3547, allocations: 0 / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.3548, allocations: 205.6 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3548, allocations: 3.938 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.765e-06/0.3549, allocations: 0 / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3549, allocations: 4 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.3549, allocations: 4 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3549, allocations: 0 / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3549, allocations: 4 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.355, allocations: 118.2 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.3551, allocations: 88.86 kB / 1.066 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.3551, allocations: 7.984 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.472e-05/0.3551, allocations: 4 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.3552, allocations: 7.984 kB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.3552, allocations: 7.938 kB / 1.066 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.392e-05/0.3553, allocations: 124.8 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3553, allocations: 0 / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002544/0.3555, allocations: 28 kB / 1.066 GB, free: 13.63 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.0001572/0.3557, allocations: 115.3 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003172/0.356, allocations: 234.6 kB / 1.066 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.356, allocations: 0.5 kB / 1.066 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.5e-05/0.3561, allocations: 31.98 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.3564, allocations: 19.92 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.3568, allocations: 310.5 kB / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.3571, allocations: 0.7121 MB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.3572, allocations: 11.44 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3572, allocations: 0 / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of Templates: time 0.003801/0.361, allocations: 1.827 MB / 1.069 GB, free: 10.3 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/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