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.001382/0.001382, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.00118/0.00118, allocations: 161 kB / 24.16 MB, free: 328 kB / 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.011/1.011, allocations: 177.2 MB / 204.6 MB, free: 5.102 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.986/1.986, allocations: 377.9 MB / 0.624 GB, free: 8.328 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 2.235e-06/2.235e-06, allocations: 0.875 kB / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.987e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001724/0.001754, allocations: 0.7639 MB / 0.7608 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.003319, allocations: 1.31 MB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.342e-05/0.003382, allocations: 0 / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.003498, allocations: 17.16 kB / 0.7621 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.587e-05/0.003554, allocations: 14.19 kB / 0.7621 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006863/0.00424, allocations: 241.4 kB / 0.7623 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000304/0.004544, allocations: 243.3 kB / 0.7626 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.004652, allocations: 23.97 kB / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.00483, allocations: 151.8 kB / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.004983, allocations: 74 kB / 0.7628 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.005012, allocations: 16 kB / 0.7628 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.005121, allocations: 31.94 kB / 0.7629 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.00517, allocations: 37.23 kB / 0.7629 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.876e-05/0.005239, allocations: 63.83 kB / 0.763 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.005451, allocations: 179.5 kB / 0.7631 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.005454, allocations: 1.25 kB / 0.7631 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.253e-06/0.005455, allocations: 0 / 0.7631 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.005459, allocations: 0 / 0.7631 GB, free: 3.453 MB / 0.7136 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.0004819/0.005941, allocations: 397 kB / 0.7635 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.005977, allocations: 8.031 kB / 0.7635 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/0.006214, allocations: 40.89 kB / 0.7636 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.006453, allocations: 167.6 kB / 0.7637 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.006471, allocations: 8.375 kB / 0.7637 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.006495, allocations: 24.3 kB / 0.7638 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.006627, allocations: 102.1 kB / 0.7638 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.006637, allocations: 4.125 kB / 0.7639 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.006647, allocations: 9.688 kB / 0.7639 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.006653, allocations: 384 / 0.7639 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.066e-05/0.006684, allocations: 31.86 kB / 0.7639 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.007067, allocations: 485.2 kB / 0.7644 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.733e-05/0.007115, allocations: 42.3 kB / 0.7644 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.397e-05/0.007129, allocations: 13.84 kB / 0.7644 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-06/0.007133, allocations: 0 / 0.7644 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/0.007244, allocations: 92.22 kB / 0.7645 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 7.92e-07/0.007245, allocations: 0 / 0.7645 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001345/0.00738, allocations: 73.59 kB / 0.7646 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.007423, allocations: 85.03 kB / 0.7646 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.00753, allocations: 177.5 kB / 0.7648 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.007554, allocations: 33.7 kB / 0.7648 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.007609, allocations: 112 kB / 0.765 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.00762, allocations: 14.97 kB / 0.765 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.734e-05/0.007687, allocations: 61.59 kB / 0.765 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.469e-05/0.007772, allocations: 326.8 kB / 0.7653 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.502e-05/0.007857, allocations: 95.38 kB / 0.7654 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.007973, allocations: 210.7 kB / 0.7656 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.008093, allocations: 167.6 kB / 0.7658 GB, free: 444 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.008095, allocations: 0 / 0.7658 GB, free: 444 kB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002159/0.008311, allocations: 274.4 kB / 0.7661 GB, free: 140 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.857e-05/0.008359, allocations: 67.39 kB / 0.7661 GB, free: 60 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.008367, allocations: 5.5 kB / 0.7661 GB, free: 56 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.008383, allocations: 0 / 0.7661 GB, free: 56 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.782e-05/0.008401, allocations: 4 kB / 0.7661 GB, free: 52 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.008407, allocations: 7.938 kB / 0.7661 GB, free: 44 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.008573, allocations: 46.33 kB / 0.7662 GB, free: 0 / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.008604, allocations: 7.984 kB / 0.7662 GB, free: 15.99 MB / 0.7292 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,con1.y,con.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 9.427e-05/0.008698, allocations: 128.6 kB / 0.7663 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.008713, allocations: 10.75 kB / 0.7663 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.008748, allocations: 12.33 kB / 0.7663 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.00875, allocations: 0 / 0.7663 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.008753, allocations: 3.938 kB / 0.7663 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.008758, allocations: 7.938 kB / 0.7663 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.384e-05/0.008852, allocations: 93.84 kB / 0.7664 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.008854, allocations: 0 / 0.7664 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.516e-06/0.008862, allocations: 4.812 kB / 0.7664 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.008865, allocations: 3.938 kB / 0.7664 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.008871, allocations: 5.156 kB / 0.7664 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.008873, allocations: 0 / 0.7664 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.008874, allocations: 0 / 0.7664 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.097e-05/0.008965, allocations: 86.28 kB / 0.7665 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.008976, allocations: 13.31 kB / 0.7665 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.00899, allocations: 11.97 kB / 0.7666 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.315e-05/0.009004, allocations: 0 / 0.7666 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.009033, allocations: 7.984 kB / 0.7666 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.009038, allocations: 5.281 kB / 0.7666 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.103e-05/0.009069, allocations: 35.23 kB / 0.7666 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.009069, allocations: 0 / 0.7666 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001634/0.009232, allocations: 32.78 kB / 0.7666 GB, free: 15.5 MB / 0.7292 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.0001315/0.009364, allocations: 96.97 kB / 0.7667 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002076/0.009571, allocations: 260.2 kB / 0.767 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.009576, allocations: 0.625 kB / 0.767 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.358e-05/0.0096, allocations: 24.78 kB / 0.767 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.009737, allocations: 22.86 kB / 0.767 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/0.01006, allocations: 233.9 kB / 0.7672 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.685e-05/0.01009, allocations: 67.33 kB / 0.7673 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.07e-05/0.01012, allocations: 10.17 kB / 0.7673 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.01023, allocations: 88 kB / 0.7674 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of SimCode: time 6.71e-07/0.01023, allocations: 0 / 0.7674 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of Templates: time 0.004324/0.01455, allocations: 2.236 MB / 0.7696 GB, free: 12.51 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.1864771717227995]