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.001579/0.001579, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001972/0.001972, allocations: 165 kB / 23.82 MB, free: 0.7461 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.022/1.022, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.969/1.969, allocations: 377.8 MB / 0.6236 GB, free: 8.586 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 1.382e-06/1.382e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.803e-05, allocations: 8.641 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001205/0.001223, allocations: 0.7141 MB / 0.8122 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.002475, allocations: 1.308 MB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/0.002521, allocations: 4 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.88e-05/0.00262, allocations: 12.92 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.188e-05/0.002662, allocations: 15.88 kB / 0.8136 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00054/0.003202, allocations: 229.4 kB / 0.8138 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.003434, allocations: 255.5 kB / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.003543, allocations: 25.06 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.003677, allocations: 135.8 kB / 0.8142 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.003798, allocations: 71.83 kB / 0.8142 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.5e-05/0.003833, allocations: 20.69 kB / 0.8143 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.239e-05/0.003905, allocations: 31.97 kB / 0.8143 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/0.003959, allocations: 36.83 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.004031, allocations: 63.88 kB / 0.8144 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.004236, allocations: 207.9 kB / 0.8146 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004237, allocations: 0 / 0.8146 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.92e-07/0.004238, allocations: 4.875 kB / 0.8146 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.004242, allocations: 0 / 0.8146 GB, free: 14.64 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.0004507/0.004693, allocations: 0.524 MB / 0.8151 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.004723, allocations: 8.031 kB / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002481/0.004971, allocations: 64.84 kB / 0.8152 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.005278, allocations: 196.8 kB / 0.8154 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.005294, allocations: 12.38 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.005324, allocations: 16.38 kB / 0.8154 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.005458, allocations: 120.9 kB / 0.8155 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.005466, allocations: 1.25 kB / 0.8155 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.005477, allocations: 4.375 kB / 0.8155 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.005484, allocations: 4.125 kB / 0.8155 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.038e-05/0.005524, allocations: 36.83 kB / 0.8155 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005716/0.006096, allocations: 0.7775 MB / 0.8163 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.605e-05/0.006152, allocations: 50.94 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.972e-05/0.006171, allocations: 24 kB / 0.8164 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-06/0.006175, allocations: 3.938 kB / 0.8164 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001162/0.006291, allocations: 97.52 kB / 0.8165 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.006292, allocations: 0.5312 kB / 0.8165 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0001844/0.006477, allocations: 98.78 kB / 0.8166 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.006523, allocations: 81.11 kB / 0.8166 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.006658, allocations: 232.2 kB / 0.8169 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.006683, allocations: 29.7 kB / 0.8169 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.825e-05/0.006771, allocations: 167.8 kB / 0.817 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.006784, allocations: 15.84 kB / 0.8171 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-05/0.006861, allocations: 67.33 kB / 0.8171 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.006996, allocations: 0.497 MB / 0.8176 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.007111, allocations: 111.4 kB / 0.8177 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.007273, allocations: 253.4 kB / 0.818 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.007418, allocations: 198.3 kB / 0.8182 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.00742, allocations: 0 / 0.8182 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002972/0.007717, allocations: 333.3 kB / 0.8185 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.007753, allocations: 64.92 kB / 0.8185 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.007758, allocations: 0 / 0.8185 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.007773, allocations: 7.938 kB / 0.8185 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.399e-05/0.007787, allocations: 8 kB / 0.8185 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.007791, allocations: 0.5 kB / 0.8185 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.007936, allocations: 42.52 kB / 0.8186 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.007956, allocations: 15.98 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.128e-05/0.008038, allocations: 172.5 kB / 0.8188 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.008054, allocations: 20.53 kB / 0.8188 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.008081, allocations: 4.344 kB / 0.8188 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.008084, allocations: 8.625 kB / 0.8188 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.008087, allocations: 0 / 0.8188 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.008091, allocations: 1.188 kB / 0.8188 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.793e-05/0.008188, allocations: 160.5 kB / 0.819 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.00819, allocations: 4.938 kB / 0.819 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-06/0.008194, allocations: 0 / 0.819 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.008196, allocations: 5.281 kB / 0.819 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.008202, allocations: 4 kB / 0.819 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.008205, allocations: 3.984 kB / 0.819 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.008208, allocations: 7.922 kB / 0.819 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.008309, allocations: 128.8 kB / 0.8191 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.197e-05/0.008321, allocations: 11.95 kB / 0.8191 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-06/0.00833, allocations: 1.969 kB / 0.8191 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.336e-05/0.008344, allocations: 4 kB / 0.8191 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.008368, allocations: 7.922 kB / 0.8191 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.008373, allocations: 4 kB / 0.8191 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.146e-05/0.008434, allocations: 155.2 kB / 0.8193 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008434, allocations: 0.75 kB / 0.8193 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001657/0.0086, allocations: 35.95 kB / 0.8193 GB, free: 9.305 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 9.65e-05/0.008696, allocations: 106.6 kB / 0.8194 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.008929, allocations: 281.7 kB / 0.8197 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.00893, allocations: 0 / 0.8197 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.994e-05/0.00896, allocations: 23.67 kB / 0.8197 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.009114, allocations: 21.02 kB / 0.8197 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.009421, allocations: 251.7 kB / 0.82 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.531e-05/0.009457, allocations: 67.2 kB / 0.82 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.671e-05/0.009483, allocations: 14.09 kB / 0.82 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/0.009503, allocations: 12.5 kB / 0.8201 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.009503, allocations: 0.5 kB / 0.8201 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of Templates: time 0.003622/0.01313, allocations: 2.093 MB / 0.8221 GB, free: 6.426 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.4845836837776005]