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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001595/0.001595, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001841/0.001842, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.292/2.292, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 67.91 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7526/0.754, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.00195/0.756, allocations: 0.7113 MB / 1.089 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.7576, allocations: 1.248 MB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.865e-05/0.7577, allocations: 0.9375 kB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.7579, allocations: 11.27 kB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.915e-05/0.7579, allocations: 12.59 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007041/0.7586, allocations: 244.5 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000333/0.759, allocations: 255.3 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.7591, allocations: 35.88 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.7592, allocations: 105.5 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.7594, allocations: 80.98 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.081e-05/0.7595, allocations: 22.47 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.7596, allocations: 42.89 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.887e-05/0.7597, allocations: 35.61 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.7598, allocations: 90 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.7601, allocations: 236.2 kB / 1.092 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.7601, allocations: 0 / 1.092 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7601, allocations: 4 kB / 1.092 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.7601, allocations: 0.6875 kB / 1.092 GB, free: 3.648 MB / 0.8575 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.0005238/0.7606, allocations: 0.4973 MB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.7607, allocations: 9.188 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.764e-05/0.7608, allocations: 20.78 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005285/0.7613, allocations: 257 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.7613, allocations: 16.38 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.7614, allocations: 22.12 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.7616, allocations: 121.2 kB / 1.093 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.7616, allocations: 4.938 kB / 1.093 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.7616, allocations: 5.891 kB / 1.093 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.7616, allocations: 2.219 kB / 1.093 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.2e-05/0.7617, allocations: 49.83 kB / 1.093 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005742/0.7623, allocations: 0.6741 MB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.219e-05/0.7624, allocations: 39.39 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.7624, allocations: 20.19 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.7624, allocations: 0 / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.7626, allocations: 93.06 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.7626, allocations: 0 / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002638/0.7629, allocations: 107.5 kB / 1.094 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.7629, allocations: 87.73 kB / 1.094 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.7631, allocations: 171 kB / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.7631, allocations: 30.3 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.7632, allocations: 126.7 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.7632, allocations: 19.61 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.7633, allocations: 62.11 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.698e-05/0.7634, allocations: 321.2 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.7635, allocations: 56.78 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.7636, allocations: 119.2 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.7638, allocations: 173.6 kB / 1.095 GB, free: 1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7638, allocations: 5 kB / 1.095 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004328/0.7643, allocations: 261 kB / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.406e-05/0.7643, allocations: 76.33 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.7643, allocations: 5.969 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.7644, allocations: 2.125 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.195e-05/0.7644, allocations: 9.109 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.7644, allocations: 2.516 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000422/0.7648, allocations: 67.53 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/0.7649, allocations: 13.64 kB / 1.095 GB, free: 0.7578 MB / 0.8575 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.0001058/0.765, allocations: 139.3 kB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.765, allocations: 17.16 kB / 1.095 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.765, allocations: 9.547 kB / 1.095 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.7651, allocations: 1.641 kB / 1.095 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.7651, allocations: 0.75 kB / 1.095 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.7651, allocations: 4.688 kB / 1.095 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.7652, allocations: 203.8 kB / 1.095 GB, free: 408 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.7652, allocations: 3.938 kB / 1.095 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.956e-06/0.7652, allocations: 6.438 kB / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.7652, allocations: 1.375 kB / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.7653, allocations: 2.125 kB / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.7653, allocations: 1.094 kB / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.7653, allocations: 1.469 kB / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.7654, allocations: 110.2 kB / 1.096 GB, free: 308 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.774e-05/0.7654, allocations: 100.7 kB / 1.096 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.7655, allocations: 6.375 kB / 1.096 GB, free: 188 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.411e-05/0.7655, allocations: 1.484 kB / 1.096 GB, free: 188 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.7655, allocations: 8.906 kB / 1.096 GB, free: 184 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.7655, allocations: 3.5 kB / 1.096 GB, free: 184 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.994e-05/0.7656, allocations: 120.6 kB / 1.096 GB, free: 96 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7656, allocations: 0 / 1.096 GB, free: 96 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002819/0.7659, allocations: 36.8 kB / 1.096 GB, free: 92 kB / 0.8575 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.0001398/0.7661, allocations: 108 kB / 1.096 GB, free: 0 / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003761/0.7665, allocations: 237.2 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7665, allocations: 0.6875 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.672e-05/0.7666, allocations: 29.94 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.7668, allocations: 27.86 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/0.7673, allocations: 281.8 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.7677, allocations: 0.7121 MB / 1.097 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.7677, allocations: 17.62 kB / 1.097 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of SimCode: time 3.91e-07/0.7677, allocations: 0 / 1.097 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of Templates: time 0.004599/0.7723, allocations: 1.973 MB / 1.099 GB, free: 14.68 MB / 0.8731 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