Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001725/0.001725, allocations: 104.7 kB / 16.4 MB, free: 6.465 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.001854/0.001854, allocations: 192 kB / 17.34 MB, free: 5.715 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.551/1.551, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 63.91 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.932/0.9341, allocations: 151.6 MB / 1.167 GB, free: 4.02 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002203/0.9363, allocations: 0.7166 MB / 1.168 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002079/0.9384, allocations: 1.247 MB / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.307e-05/0.9385, allocations: 4 kB / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.9386, allocations: 11.88 kB / 1.169 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.957e-05/0.9387, allocations: 23.84 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000822/0.9395, allocations: 238.6 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003591/0.9399, allocations: 255.6 kB / 1.17 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.9401, allocations: 35.98 kB / 1.17 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.9402, allocations: 99.88 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.9404, allocations: 87.69 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.984e-05/0.9405, allocations: 20 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.9406, allocations: 39.92 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.285e-05/0.9407, allocations: 43.91 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.9408, allocations: 83.62 kB / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003574/0.9412, allocations: 232.2 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.9412, allocations: 3.938 kB / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9412, allocations: 0 / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.9412, allocations: 3.938 kB / 1.17 GB, free: 0.8945 MB / 0.8887 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.0007475/0.942, allocations: 0.506 MB / 1.171 GB, free: 332 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.942, allocations: 8.922 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.377e-05/0.9421, allocations: 20.84 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006273/0.9427, allocations: 262.3 kB / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/0.9428, allocations: 12.45 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.831e-05/0.9428, allocations: 24.36 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.9431, allocations: 131.3 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.9431, allocations: 3.938 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.9431, allocations: 4 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.9431, allocations: 4 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.9433, allocations: 51.91 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008036/0.9441, allocations: 0.665 MB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 7.358e-05/0.9442, allocations: 45.09 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.102e-05/0.9442, allocations: 21.83 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-06/0.9442, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.9444, allocations: 96.92 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.9444, allocations: 0 / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0002811/0.9447, allocations: 101.6 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/0.9448, allocations: 85.05 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.945, allocations: 172.3 kB / 1.173 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.945, allocations: 33.7 kB / 1.173 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.9452, allocations: 127.9 kB / 1.173 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.9452, allocations: 3.953 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.9453, allocations: 73.62 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.9455, allocations: 322.8 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.9456, allocations: 51.97 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.9458, allocations: 120.5 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.9461, allocations: 174.2 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.9461, allocations: 0 / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004619/0.9465, allocations: 272.7 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.909e-05/0.9466, allocations: 63.39 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.9466, allocations: 4 kB / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.9466, allocations: 4 kB / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.918e-05/0.9467, allocations: 384 / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.9467, allocations: 7.938 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.9471, allocations: 72.12 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/0.9471, allocations: 19.98 kB / 1.174 GB, free: 13 MB / 0.9044 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.0001347/0.9473, allocations: 137.8 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.9473, allocations: 11.98 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.9474, allocations: 24.16 kB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.9474, allocations: 0 / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9474, allocations: 4 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.9474, allocations: 4 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.9476, allocations: 201.6 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.9476, allocations: 3.938 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.458e-06/0.9476, allocations: 4 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.9476, allocations: 0 / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.9476, allocations: 0 / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.9476, allocations: 0 / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.9477, allocations: 7.938 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.9478, allocations: 117.9 kB / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.9479, allocations: 89 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.9479, allocations: 0 / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.567e-05/0.9479, allocations: 3.984 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.948, allocations: 8 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.948, allocations: 7.938 kB / 1.174 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.538e-05/0.9481, allocations: 114.3 kB / 1.174 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9481, allocations: 4 kB / 1.175 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000272/0.9484, allocations: 43.94 kB / 1.175 GB, free: 12.12 MB / 0.9044 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.0001729/0.9486, allocations: 111.1 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000391/0.949, allocations: 238.8 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.949, allocations: 0 / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.585e-05/0.949, allocations: 23.92 kB / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.9493, allocations: 38.75 kB / 1.175 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005186/0.9498, allocations: 236.1 kB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.9503, allocations: 0.7118 MB / 1.176 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.119e-05/0.9503, allocations: 12.88 kB / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.9504, allocations: 19.44 kB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of SimCode: time 3.01e-07/0.9504, allocations: 0 / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of Templates: time 0.006037/0.9564, allocations: 2 MB / 1.178 GB, free: 8.68 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches