Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00614/0.00614, allocations: 101.5 kB / 15.73 MB, free: 5.973 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.001723/0.001723, allocations: 188.6 kB / 16.67 MB, free: 5.895 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.618/2.618, allocations: 469.8 MB / 0.7425 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 67.84 kB / 1.065 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9454/0.9468, allocations: 159.1 MB / 1.221 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002197/0.949, allocations: 0.7054 MB / 1.221 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001802/0.9508, allocations: 1.244 MB / 1.223 GB, free: 280 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.178e-05/0.9508, allocations: 0 / 1.223 GB, free: 280 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.951, allocations: 19.86 kB / 1.223 GB, free: 260 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.249e-05/0.951, allocations: 19.84 kB / 1.223 GB, free: 240 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008265/0.9519, allocations: 242.1 kB / 1.223 GB, free: 4 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003645/0.9522, allocations: 243.6 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.9524, allocations: 31.94 kB / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.9525, allocations: 103.8 kB / 1.223 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.9527, allocations: 79.72 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.368e-05/0.9527, allocations: 20 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.9528, allocations: 47.91 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.853e-05/0.9529, allocations: 39.91 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.953, allocations: 83.64 kB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.9533, allocations: 236.1 kB / 1.224 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.9533, allocations: 0 / 1.224 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.133e-06/0.9533, allocations: 3.938 kB / 1.224 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.9533, allocations: 0 / 1.224 GB, free: 15.14 MB / 0.9512 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.0006744/0.954, allocations: 0.4983 MB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.9541, allocations: 12.02 kB / 1.224 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.415e-05/0.9541, allocations: 24.84 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005908/0.9547, allocations: 256.2 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.9547, allocations: 12.38 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/0.9548, allocations: 16.38 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.955, allocations: 129.6 kB / 1.225 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.955, allocations: 7.938 kB / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.955, allocations: 4 kB / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.955, allocations: 7.984 kB / 1.225 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.431e-05/0.9551, allocations: 47.91 kB / 1.225 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006841/0.9558, allocations: 0.6729 MB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.942e-05/0.9559, allocations: 41.09 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.671e-05/0.9559, allocations: 21.77 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.9559, allocations: 0 / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.9561, allocations: 96.98 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.9561, allocations: 0 / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0002565/0.9564, allocations: 97.56 kB / 1.226 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.9564, allocations: 81.05 kB / 1.226 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.9566, allocations: 180.5 kB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.9566, allocations: 29.7 kB / 1.226 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.992e-05/0.9567, allocations: 123.9 kB / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.9567, allocations: 23.89 kB / 1.226 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.9568, allocations: 57.69 kB / 1.226 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.957, allocations: 322.8 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.9571, allocations: 63.95 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.9573, allocations: 120.5 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.9575, allocations: 170.1 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9575, allocations: 4.031 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004465/0.9579, allocations: 268.7 kB / 1.227 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.105e-05/0.958, allocations: 71.39 kB / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.958, allocations: 0 / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.958, allocations: 4 kB / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.96e-05/0.958, allocations: 0 / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.958, allocations: 4 kB / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/0.9584, allocations: 72.12 kB / 1.227 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.9585, allocations: 15.98 kB / 1.227 GB, free: 11.25 MB / 0.9512 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.0001266/0.9586, allocations: 142.3 kB / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.9586, allocations: 15.83 kB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.9586, allocations: 12.62 kB / 1.227 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.9586, allocations: 4 kB / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.9586, allocations: 4 kB / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.9587, allocations: 3.984 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.9588, allocations: 205.6 kB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.9588, allocations: 3.938 kB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.049e-05/0.9588, allocations: 7.984 kB / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.9588, allocations: 0 / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.9588, allocations: 0 / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.9588, allocations: 7.938 kB / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.9588, allocations: 0 / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.959, allocations: 118.7 kB / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.959, allocations: 89 kB / 1.228 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.9591, allocations: 4 kB / 1.228 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.443e-05/0.9591, allocations: 4 kB / 1.228 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.9591, allocations: 3.984 kB / 1.228 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.9591, allocations: 8.062 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.383e-05/0.9592, allocations: 120.6 kB / 1.228 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.9592, allocations: 4 kB / 1.228 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002698/0.9595, allocations: 35.95 kB / 1.228 GB, free: 10.37 MB / 0.9512 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.0001686/0.9597, allocations: 111.2 kB / 1.228 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003272/0.96, allocations: 214.6 kB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.96, allocations: 0 / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.048e-05/0.96, allocations: 16.48 kB / 1.228 GB, free: 10 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.9603, allocations: 25.81 kB / 1.228 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005009/0.9608, allocations: 240 kB / 1.228 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.9611, allocations: 0.7119 MB / 1.229 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.831e-05/0.9611, allocations: 16.88 kB / 1.229 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/0.9612, allocations: 11.44 kB / 1.229 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of SimCode: time 4.11e-07/0.9612, allocations: 0 / 1.229 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of Templates: time 0.005521/0.9667, allocations: 2.009 MB / 1.231 GB, free: 6.969 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches