Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002381/0.002381, allocations: 161.3 kB / 23.54 MB, free: 0.8633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.516/1.516, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.966/2.966, allocations: 377.8 MB / 0.6232 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.364e-05/3.6e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.00224/0.002276, allocations: 0.7138 MB / 0.8115 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002266/0.004542, allocations: 1.266 MB / 0.8127 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.83e-05/0.00461, allocations: 4 kB / 0.8127 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.004745, allocations: 16.52 kB / 0.8128 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.851e-05/0.004824, allocations: 19.84 kB / 0.8128 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008675/0.005691, allocations: 229 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006167/0.006308, allocations: 252.8 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.006446, allocations: 27.97 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003114/0.006757, allocations: 139.8 kB / 0.8134 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.006967, allocations: 73.75 kB / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.228e-05/0.007019, allocations: 16 kB / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.007148, allocations: 35.98 kB / 0.8135 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.283e-05/0.007231, allocations: 35.91 kB / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.007364, allocations: 67.88 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004648/0.007829, allocations: 272.6 kB / 0.8139 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.007832, allocations: 0 / 0.8139 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.192e-06/0.007833, allocations: 0 / 0.8139 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.007842, allocations: 0 / 0.8139 GB, free: 14.96 MB / 0.7761 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.0007643/0.008606, allocations: 430.5 kB / 0.8143 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.008649, allocations: 12.03 kB / 0.8143 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004337/0.009083, allocations: 68.8 kB / 0.8144 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006228/0.009706, allocations: 203.7 kB / 0.8146 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.009732, allocations: 12.38 kB / 0.8146 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.52e-05/0.009777, allocations: 16.38 kB / 0.8146 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.01005, allocations: 127.9 kB / 0.8147 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.01006, allocations: 0.7188 kB / 0.8147 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.01008, allocations: 5.094 kB / 0.8147 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.01009, allocations: 8.125 kB / 0.8147 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.01019, allocations: 48.44 kB / 0.8148 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008289/0.01102, allocations: 0.5765 MB / 0.8153 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.936e-05/0.01111, allocations: 41.16 kB / 0.8154 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.228e-05/0.01114, allocations: 17.77 kB / 0.8154 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.01116, allocations: 4.469 kB / 0.8154 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.01139, allocations: 94.36 kB / 0.8155 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.01139, allocations: 4 kB / 0.8155 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.000349/0.01174, allocations: 113.5 kB / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.01182, allocations: 82.27 kB / 0.8157 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.01202, allocations: 168.7 kB / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.01207, allocations: 33.7 kB / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.01221, allocations: 125.3 kB / 0.816 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.01222, allocations: 7.906 kB / 0.816 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.01235, allocations: 57.69 kB / 0.816 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000211/0.01256, allocations: 322.8 kB / 0.8164 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.01276, allocations: 120.3 kB / 0.8165 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.01305, allocations: 233.7 kB / 0.8167 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.01332, allocations: 172.8 kB / 0.8169 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.01333, allocations: 0 / 0.8169 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006362/0.01396, allocations: 341.7 kB / 0.8172 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.011e-05/0.01404, allocations: 72.42 kB / 0.8172 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.01405, allocations: 0 / 0.8172 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/0.01408, allocations: 7.938 kB / 0.8173 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.946e-05/0.0141, allocations: 2.031 kB / 0.8173 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.01411, allocations: 7.984 kB / 0.8173 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.01448, allocations: 62.16 kB / 0.8173 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/0.01452, allocations: 15.98 kB / 0.8173 GB, free: 11.06 MB / 0.7761 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.0001668/0.01469, allocations: 140.2 kB / 0.8175 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.01472, allocations: 15.94 kB / 0.8175 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/0.01476, allocations: 12.84 kB / 0.8175 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.01476, allocations: 4.469 kB / 0.8175 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.01477, allocations: 0 / 0.8175 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01477, allocations: 1.938 kB / 0.8175 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.01495, allocations: 141.3 kB / 0.8176 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01495, allocations: 0 / 0.8176 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.446e-06/0.01496, allocations: 0 / 0.8176 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01496, allocations: 0 / 0.8176 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.01498, allocations: 8.625 kB / 0.8176 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.01498, allocations: 3.938 kB / 0.8177 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.01498, allocations: 4.594 kB / 0.8177 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.01518, allocations: 121.8 kB / 0.8178 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.808e-05/0.0152, allocations: 8.969 kB / 0.8178 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.01522, allocations: 7.312 kB / 0.8178 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.605e-05/0.01525, allocations: 4 kB / 0.8178 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.01529, allocations: 11.92 kB / 0.8178 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.0153, allocations: 3.984 kB / 0.8178 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001327/0.01543, allocations: 119.2 kB / 0.8179 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01543, allocations: 0 / 0.8179 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002956/0.01573, allocations: 39.89 kB / 0.818 GB, free: 10.37 MB / 0.7761 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.0002126/0.01594, allocations: 103.2 kB / 0.8181 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004693/0.01641, allocations: 276.3 kB / 0.8183 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.01642, allocations: 0 / 0.8183 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.233e-05/0.01647, allocations: 15.98 kB / 0.8183 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.01674, allocations: 23.73 kB / 0.8184 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005836/0.01732, allocations: 253.9 kB / 0.8186 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.01745, allocations: 94.86 kB / 0.8187 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.493e-05/0.0175, allocations: 14.03 kB / 0.8187 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.01752, allocations: 13.47 kB / 0.8187 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.01753, allocations: 0 / 0.8187 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of Templates: time 0.00661/0.02414, allocations: 2.1 MB / 0.8208 GB, free: 7.473 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.130988496937789]