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.001655/0.001655, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001968/0.001968, allocations: 161 kB / 23.82 MB, free: 0.75 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.006/1.006, allocations: 177.2 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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 1.962/1.962, allocations: 377.8 MB / 0.6236 GB, free: 8.5 MB / 0.5886 GB " [Timeout remaining time 177] 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.[0-9,]+.|extBooSig.y.[0-9,]+.|extBooSig1.y.[0-9,]+.",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.[0-9,]+.|extBooSig.y.[0-9,]+.|extBooSig1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.637e-06/3.637e-06, allocations: 4.875 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.112e-05/3.476e-05, allocations: 9.984 kB / 0.8115 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001538/0.001573, allocations: 0.7218 MB / 0.8123 GB, free: 1 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.00303, allocations: 1.308 MB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.238e-05/0.003092, allocations: 0 / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.003211, allocations: 12.73 kB / 0.8135 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.035e-05/0.003271, allocations: 15.86 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000718/0.003989, allocations: 237.9 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.004276, allocations: 247.5 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.004408, allocations: 19.98 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.004597, allocations: 149.3 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.004751, allocations: 67.84 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.386e-05/0.004785, allocations: 13.38 kB / 0.8143 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.187e-05/0.004877, allocations: 35.91 kB / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.004935, allocations: 31.92 kB / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.723e-05/0.005013, allocations: 65.62 kB / 0.8144 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.005244, allocations: 187.3 kB / 0.8146 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.005247, allocations: 0 / 0.8146 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.82e-07/0.005248, allocations: 0 / 0.8146 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.005253, allocations: 0 / 0.8146 GB, free: 14.62 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.0008732/0.006126, allocations: 0.5239 MB / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.006163, allocations: 8.031 kB / 0.8151 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002701/0.006433, allocations: 69.7 kB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.006638, allocations: 174.8 kB / 0.8153 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.006656, allocations: 16.36 kB / 0.8153 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.00668, allocations: 13.41 kB / 0.8153 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.006839, allocations: 119.3 kB / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.006848, allocations: 2.562 kB / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.006862, allocations: 8.375 kB / 0.8155 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.006871, allocations: 8.297 kB / 0.8155 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.929e-05/0.00691, allocations: 23.92 kB / 0.8155 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005532/0.007463, allocations: 0.7697 MB / 0.8163 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.548e-05/0.007529, allocations: 58.12 kB / 0.8163 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.359e-05/0.007552, allocations: 23.83 kB / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.481e-06/0.007558, allocations: 4.781 kB / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.007668, allocations: 96.92 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.007669, allocations: 1.594 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0001967/0.007866, allocations: 101.5 kB / 0.8165 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.007906, allocations: 85.05 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.008033, allocations: 225.8 kB / 0.8168 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.008055, allocations: 30.33 kB / 0.8169 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.446e-05/0.008129, allocations: 171.4 kB / 0.817 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.025e-05/0.008139, allocations: 15.78 kB / 0.817 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.868e-05/0.008218, allocations: 64.03 kB / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.008326, allocations: 0.4962 MB / 0.8176 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.008427, allocations: 111.9 kB / 0.8177 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.008559, allocations: 248.4 kB / 0.8179 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.008703, allocations: 194.5 kB / 0.8181 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.008706, allocations: 5.219 kB / 0.8181 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000289/0.008995, allocations: 329.1 kB / 0.8184 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.009035, allocations: 72.27 kB / 0.8185 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.009041, allocations: 4 kB / 0.8185 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.009056, allocations: 4 kB / 0.8185 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.74e-05/0.009073, allocations: 3.938 kB / 0.8185 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.009081, allocations: 4 kB / 0.8185 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.009261, allocations: 51.09 kB / 0.8186 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.00928, allocations: 15.92 kB / 0.8186 GB, free: 10.1 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 8.595e-05/0.009366, allocations: 164.6 kB / 0.8187 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.009384, allocations: 15.91 kB / 0.8187 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.009414, allocations: 16.33 kB / 0.8188 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.009416, allocations: 0 / 0.8188 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.009421, allocations: 5.125 kB / 0.8188 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.009425, allocations: 4 kB / 0.8188 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.009528, allocations: 152.5 kB / 0.8189 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.00953, allocations: 0.5938 kB / 0.8189 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.995e-06/0.009538, allocations: 3.984 kB / 0.8189 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.009541, allocations: 4.562 kB / 0.8189 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.009549, allocations: 5.656 kB / 0.8189 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.009551, allocations: 3.938 kB / 0.8189 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.009555, allocations: 7.938 kB / 0.8189 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.009679, allocations: 124.4 kB / 0.8191 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.00969, allocations: 13.12 kB / 0.8191 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.009704, allocations: 4 kB / 0.8191 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.136e-05/0.009715, allocations: 0 / 0.8191 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.009746, allocations: 11.92 kB / 0.8191 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.009752, allocations: 5.094 kB / 0.8191 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.864e-05/0.009821, allocations: 153.6 kB / 0.8192 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009821, allocations: 0 / 0.8192 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001749/0.009996, allocations: 36.61 kB / 0.8193 GB, free: 9.32 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.0001504/0.01015, allocations: 112 kB / 0.8194 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000255/0.0104, allocations: 278.9 kB / 0.8196 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.0104, allocations: 1 kB / 0.8196 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.404e-05/0.01044, allocations: 31.61 kB / 0.8197 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.01062, allocations: 21.11 kB / 0.8197 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.01095, allocations: 243.8 kB / 0.8199 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.839e-05/0.01099, allocations: 71.19 kB / 0.82 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.714e-05/0.01102, allocations: 10.61 kB / 0.82 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.01104, allocations: 16.48 kB / 0.82 GB, free: 8.441 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.01104, allocations: 3.25 kB / 0.82 GB, free: 8.441 MB / 0.7761 GB Notification: Performance of Templates: time 0.00439/0.01543, allocations: 2.235 MB / 0.8222 GB, free: 6.27 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.30803972389549]