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.001714/0.001714, allocations: 103.6 kB / 16.35 MB, free: 5.875 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.001823/0.001823, allocations: 196.7 kB / 17.3 MB, free: 5.516 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.588/2.588, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 75.92 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3423, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002095/0.3445, allocations: 0.7217 MB / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.3462, allocations: 1.249 MB / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.031e-05/0.3463, allocations: 0 / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.3464, allocations: 11.88 kB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.737e-05/0.3465, allocations: 23.84 kB / 1.029 GB, free: 12 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007182/0.3472, allocations: 239 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.3475, allocations: 247.7 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.3477, allocations: 43.97 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.3478, allocations: 107.7 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.348, allocations: 83.75 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.394e-05/0.348, allocations: 20 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.619e-05/0.3481, allocations: 35.98 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.366e-05/0.3482, allocations: 35.92 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.3483, allocations: 91.61 kB / 1.03 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.3486, allocations: 235.2 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3486, allocations: 0 / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3486, allocations: 3.938 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3486, allocations: 4 kB / 1.03 GB, free: 14.89 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.0009515/0.3496, allocations: 0.4945 MB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.3496, allocations: 8.031 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.717e-05/0.3497, allocations: 24.75 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005902/0.3503, allocations: 253.3 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.3504, allocations: 16.31 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.3504, allocations: 24.36 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.3506, allocations: 127.5 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3506, allocations: 3.938 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.3507, allocations: 0 / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3507, allocations: 8 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.251e-05/0.3508, allocations: 55.91 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000686/0.3515, allocations: 0.6572 MB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.467e-05/0.3515, allocations: 45.09 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.26e-05/0.3516, allocations: 21.83 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.3516, allocations: 0 / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.3518, allocations: 92.97 kB / 1.032 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.3518, allocations: 0 / 1.032 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.000256/0.352, allocations: 109.4 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.3521, allocations: 81.11 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.3523, allocations: 176 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.3523, allocations: 33.7 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.798e-05/0.3524, allocations: 119.9 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/0.3525, allocations: 7.812 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.3527, allocations: 69.67 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3528, allocations: 322.8 kB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.3529, allocations: 51.97 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.3532, allocations: 123.6 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.3535, allocations: 174.6 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3535, allocations: 96 / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004942/0.354, allocations: 276.6 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.173e-05/0.3541, allocations: 67.39 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3541, allocations: 0 / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3541, allocations: 4 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.325e-05/0.3541, allocations: 3.938 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3541, allocations: 4 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/0.3546, allocations: 72.08 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.3547, allocations: 19.98 kB / 1.033 GB, free: 11.02 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.0001185/0.3548, allocations: 141.7 kB / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.3548, allocations: 11.84 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.94e-05/0.3549, allocations: 16.23 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.3549, allocations: 3.938 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.3549, allocations: 4 kB / 1.033 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3549, allocations: 4 kB / 1.033 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.3551, allocations: 197.6 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.3551, allocations: 7.938 kB / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.01e-05/0.3551, allocations: 7.938 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3551, allocations: 0 / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.3551, allocations: 0 / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3551, allocations: 4 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3551, allocations: 0 / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.3553, allocations: 113.9 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.3553, allocations: 92.86 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.3554, allocations: 3.984 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.221e-05/0.3554, allocations: 0 / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.3554, allocations: 8 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.3554, allocations: 4 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.052e-05/0.3555, allocations: 118.3 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3555, allocations: 3.938 kB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002544/0.3558, allocations: 35.98 kB / 1.034 GB, free: 10.16 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.0001698/0.356, allocations: 115.2 kB / 1.034 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003525/0.3563, allocations: 234.7 kB / 1.034 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3563, allocations: 0 / 1.034 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.436e-05/0.3564, allocations: 23.92 kB / 1.034 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.3566, allocations: 28.42 kB / 1.034 GB, free: 9.727 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.3571, allocations: 240.3 kB / 1.035 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.3575, allocations: 0.708 MB / 1.035 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.681e-05/0.3575, allocations: 13.06 kB / 1.035 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/0.3576, allocations: 15.44 kB / 1.035 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3576, allocations: 4 kB / 1.035 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of Templates: time 0.005166/0.3627, allocations: 1.996 MB / 1.037 GB, free: 6.719 MB / 0.8106 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 -s cvode -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