Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.008222/0.008223, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.00177/0.00177, allocations: 191.5 kB / 16.79 MB, free: 5.809 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.454/1.454, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.462/2.462, allocations: 390.2 MB / 0.6649 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 59.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6387/0.6402, allocations: 140.4 MB / 0.9496 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001726/0.642, allocations: 0.7705 MB / 0.9503 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.6432, allocations: 1.262 MB / 0.9516 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.823e-05/0.6432, allocations: 7.875 kB / 0.9516 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.14e-05/0.6433, allocations: 12.58 kB / 0.9516 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.161e-05/0.6434, allocations: 7.219 kB / 0.9516 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.6439, allocations: 222.2 kB / 0.9518 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.6441, allocations: 215.6 kB / 0.952 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.6442, allocations: 39.88 kB / 0.9521 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.6443, allocations: 94.19 kB / 0.9522 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.6445, allocations: 97.33 kB / 0.9522 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.6445, allocations: 11.66 kB / 0.9523 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.114e-05/0.6446, allocations: 21.38 kB / 0.9523 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.421e-05/0.6447, allocations: 32.47 kB / 0.9523 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.354e-05/0.6448, allocations: 85 kB / 0.9524 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.6449, allocations: 149.2 kB / 0.9525 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.6449, allocations: 0 / 0.9525 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.81e-07/0.6449, allocations: 0 / 0.9525 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.6449, allocations: 1.25 kB / 0.9525 GB, free: 7.023 MB / 0.7169 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.0004195/0.6454, allocations: 0.4989 MB / 0.953 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.6454, allocations: 10.06 kB / 0.953 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/0.6455, allocations: 19.14 kB / 0.953 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000499/0.646, allocations: 259.1 kB / 0.9533 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.646, allocations: 18.62 kB / 0.9533 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.646, allocations: 18.53 kB / 0.9533 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.6462, allocations: 126 kB / 0.9534 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.6462, allocations: 3.938 kB / 0.9535 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.6462, allocations: 4.938 kB / 0.9535 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.6462, allocations: 3.688 kB / 0.9535 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.563e-05/0.6463, allocations: 53.06 kB / 0.9535 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004529/0.6468, allocations: 0.6694 MB / 0.9542 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.591e-05/0.6468, allocations: 42.88 kB / 0.9542 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.978e-05/0.6469, allocations: 22.02 kB / 0.9542 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.6469, allocations: 0 / 0.9542 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.647, allocations: 96.47 kB / 0.9543 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.647, allocations: 0 / 0.9543 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002014/0.6472, allocations: 93.8 kB / 0.9544 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.6472, allocations: 94.34 kB / 0.9545 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.6474, allocations: 165.6 kB / 0.9547 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.6474, allocations: 28.67 kB / 0.9547 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.6475, allocations: 122.9 kB / 0.9548 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.057e-05/0.6475, allocations: 18.91 kB / 0.9548 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.144e-05/0.6476, allocations: 55.97 kB / 0.9549 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.218e-05/0.6476, allocations: 321.8 kB / 0.9552 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.6477, allocations: 51.19 kB / 0.9552 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.6478, allocations: 113.8 kB / 0.9553 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.648, allocations: 171.2 kB / 0.9555 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.648, allocations: 4 kB / 0.9555 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003557/0.6484, allocations: 272 kB / 0.9558 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.519e-05/0.6484, allocations: 65.02 kB / 0.9558 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.6484, allocations: 5.141 kB / 0.9558 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.6484, allocations: 2.406 kB / 0.9558 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.712e-05/0.6485, allocations: 3.844 kB / 0.9558 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.6485, allocations: 2.688 kB / 0.9558 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.6488, allocations: 59.97 kB / 0.9559 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.6488, allocations: 13.42 kB / 0.9559 GB, free: 3.867 MB / 0.7169 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 8.35e-05/0.6489, allocations: 138.1 kB / 0.956 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.6489, allocations: 16.91 kB / 0.9561 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.649, allocations: 15.83 kB / 0.9561 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.649, allocations: 5.312 kB / 0.9561 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.649, allocations: 1.219 kB / 0.9561 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.649, allocations: 0 / 0.9561 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.6491, allocations: 199.3 kB / 0.9563 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6491, allocations: 5.062 kB / 0.9563 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.145e-06/0.6491, allocations: 5.156 kB / 0.9563 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.6491, allocations: 1.062 kB / 0.9563 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.6491, allocations: 2.281 kB / 0.9563 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.6491, allocations: 0 / 0.9563 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6491, allocations: 1.188 kB / 0.9563 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.6492, allocations: 119.7 kB / 0.9564 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.6493, allocations: 87.7 kB / 0.9565 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.6493, allocations: 9.328 kB / 0.9565 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.264e-05/0.6493, allocations: 1.5 kB / 0.9565 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.6493, allocations: 6.781 kB / 0.9565 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-06/0.6494, allocations: 6.891 kB / 0.9565 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.891e-05/0.6494, allocations: 119.1 kB / 0.9566 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6494, allocations: 4 kB / 0.9566 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002431/0.6497, allocations: 37.91 kB / 0.9567 GB, free: 3.152 MB / 0.7169 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.0001043/0.6498, allocations: 107.4 kB / 0.9568 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.65, allocations: 233 kB / 0.957 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.65, allocations: 4 kB / 0.957 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.454e-05/0.6501, allocations: 23.92 kB / 0.957 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.6503, allocations: 26.89 kB / 0.957 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.6507, allocations: 310.9 kB / 0.9573 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.6508, allocations: 0.7086 MB / 0.958 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.6508, allocations: 12.94 kB / 0.958 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.6509, allocations: 0 / 0.958 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of Templates: time 0.002974/0.6538, allocations: 1.854 MB / 0.9598 GB, free: 0.9102 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches