Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.001676/0.001676, allocations: 83.69 kB / 20.45 MB, free: 4.125 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.001841/0.001841, allocations: 169 kB / 23.82 MB, free: 0.7539 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 0.9954/0.9954, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.888/1.888, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.[0-9,]+.|extSig.y.[0-9,]+.|extSig1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.[0-9,]+.|extSig.y.[0-9,]+.|extSig1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.946e-05/3.209e-05, allocations: 7.25 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.004969/0.005001, allocations: 0.9929 MB / 0.8125 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001618/0.006618, allocations: 1.379 MB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.188e-05/0.0067, allocations: 3.938 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.00683, allocations: 20.58 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.006935, allocations: 56.52 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007068/0.007642, allocations: 271.9 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007517/0.008394, allocations: 387.8 kB / 0.8146 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.008558, allocations: 47.02 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002682/0.008826, allocations: 219.6 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.008985, allocations: 98.16 kB / 0.8149 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.009029, allocations: 28 kB / 0.8149 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.009137, allocations: 47.91 kB / 0.815 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.56e-05/0.009223, allocations: 51.83 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.907e-05/0.009322, allocations: 91.75 kB / 0.8151 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.00965, allocations: 255.7 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.009653, allocations: 1.531 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.014e-06/0.009655, allocations: 0 / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.009663, allocations: 0 / 0.8154 GB, free: 13.82 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007384/0.0104, allocations: 0.621 MB / 0.816 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.01044, allocations: 8.031 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002748/0.01072, allocations: 88.7 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.01097, allocations: 236.2 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.011, allocations: 12.91 kB / 0.8163 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.01103, allocations: 21.25 kB / 0.8163 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.0113, allocations: 186 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.01131, allocations: 192 / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.01133, allocations: 4.906 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.01134, allocations: 4.375 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.615e-05/0.01143, allocations: 45.22 kB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009068/0.01234, allocations: 1.016 MB / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.0125, allocations: 148.2 kB / 0.8177 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.01256, allocations: 55.11 kB / 0.8177 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.01257, allocations: 12.61 kB / 0.8178 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.01274, allocations: 144.5 kB / 0.8179 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 2.205e-06/0.01274, allocations: 0 / 0.8179 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0002845/0.01303, allocations: 147.8 kB / 0.818 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.01308, allocations: 158.2 kB / 0.8182 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.01326, allocations: 264.3 kB / 0.8184 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.01329, allocations: 33.7 kB / 0.8185 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.61e-05/0.01339, allocations: 208 kB / 0.8187 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.01341, allocations: 31.75 kB / 0.8187 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.995e-05/0.01348, allocations: 58.72 kB / 0.8188 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.0136, allocations: 0.5079 MB / 0.8193 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.01373, allocations: 111.4 kB / 0.8194 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.01389, allocations: 267.3 kB / 0.8196 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.01405, allocations: 210.9 kB / 0.8198 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01405, allocations: 0 / 0.8198 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00036/0.01441, allocations: 365.5 kB / 0.8202 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/0.01446, allocations: 71.33 kB / 0.8202 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.01446, allocations: 4 kB / 0.8202 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.01448, allocations: 1.25 kB / 0.8202 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-05/0.01456, allocations: 23.92 kB / 0.8203 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.01457, allocations: 4.906 kB / 0.8203 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.01473, allocations: 60.67 kB / 0.8203 GB, free: 8.227 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.01475, allocations: 13.27 kB / 0.8203 GB, free: 8.215 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0001025/0.01486, allocations: 183.3 kB / 0.8205 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.01488, allocations: 28.45 kB / 0.8205 GB, free: 8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.504e-05/0.01492, allocations: 21.33 kB / 0.8206 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.01492, allocations: 6.281 kB / 0.8206 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.01493, allocations: 0 / 0.8206 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01493, allocations: 4 kB / 0.8206 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.01509, allocations: 184.6 kB / 0.8207 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01509, allocations: 0 / 0.8207 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.247e-05/0.01514, allocations: 19.05 kB / 0.8208 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.83e-06/0.01515, allocations: 7.984 kB / 0.8208 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.01516, allocations: 3.938 kB / 0.8208 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.01516, allocations: 7.938 kB / 0.8208 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.01516, allocations: 3.938 kB / 0.8208 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.01533, allocations: 175.1 kB / 0.821 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.01535, allocations: 19.84 kB / 0.821 GB, free: 7.484 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.01537, allocations: 7.938 kB / 0.821 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.367e-05/0.01542, allocations: 16.92 kB / 0.821 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.01546, allocations: 15.92 kB / 0.821 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.01547, allocations: 5.125 kB / 0.821 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000365/0.01584, allocations: 189.1 kB / 0.8212 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01584, allocations: 0 / 0.8212 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002152/0.01605, allocations: 52.98 kB / 0.8212 GB, free: 7.207 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.000135/0.01619, allocations: 112.2 kB / 0.8214 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002865/0.01647, allocations: 307.4 kB / 0.8216 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01647, allocations: 0 / 0.8216 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.733e-05/0.01653, allocations: 49.3 kB / 0.8217 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.01676, allocations: 64.89 kB / 0.8218 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004792/0.01724, allocations: 391.3 kB / 0.8221 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.016e-05/0.01729, allocations: 83.97 kB / 0.8222 GB, free: 6.109 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.656e-05/0.01736, allocations: 32.25 kB / 0.8222 GB, free: 6.082 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.0174, allocations: 24.48 kB / 0.8223 GB, free: 6.059 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.0174, allocations: 1.25 kB / 0.8223 GB, free: 6.059 MB / 0.7761 GB Notification: Performance of Templates: time 0.005364/0.02276, allocations: 3.578 MB / 0.8258 GB, free: 2.566 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.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.3504622974433005]