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.001473/0.001473, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001484/0.001484, allocations: 165 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.01/1.01, 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 2.016/2.016, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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 1.913e-06/1.913e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.836e-05, allocations: 3.188 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001523/0.001541, allocations: 0.9944 MB / 0.8125 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.00302, allocations: 1.382 MB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.14e-05/0.003102, allocations: 0 / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.003222, allocations: 21.42 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.894e-05/0.003321, allocations: 51.58 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006651/0.003986, allocations: 264.9 kB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.004328, allocations: 391.2 kB / 0.8146 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.004484, allocations: 39.53 kB / 0.8146 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.004709, allocations: 215.6 kB / 0.8148 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.004842, allocations: 111.7 kB / 0.8149 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.27e-05/0.004885, allocations: 32 kB / 0.8149 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.48e-05/0.00498, allocations: 55.92 kB / 0.815 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.333e-05/0.005053, allocations: 60.95 kB / 0.8151 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.455e-05/0.005148, allocations: 99.8 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.005425, allocations: 291 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.005427, allocations: 1.594 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.31e-07/0.005427, allocations: 0 / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.005432, allocations: 0 / 0.8154 GB, free: 13.77 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.0006648/0.006097, allocations: 0.6302 MB / 0.816 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.006136, allocations: 8.031 kB / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/0.006392, allocations: 84.7 kB / 0.8161 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000463/0.006855, allocations: 283.6 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.006883, allocations: 17.09 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.006918, allocations: 24.36 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.007166, allocations: 183.4 kB / 0.8166 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.007181, allocations: 4.188 kB / 0.8166 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.007197, allocations: 384 / 0.8166 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.007209, allocations: 8.125 kB / 0.8166 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.605e-05/0.007295, allocations: 44.5 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007434/0.008039, allocations: 1.005 MB / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.008171, allocations: 151.5 kB / 0.8178 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.478e-05/0.008226, allocations: 55.81 kB / 0.8179 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.008236, allocations: 3.984 kB / 0.8179 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.008394, allocations: 156.4 kB / 0.818 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.008395, allocations: 0 / 0.818 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0002754/0.00867, allocations: 143.1 kB / 0.8181 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002063/0.008876, allocations: 164.3 kB / 0.8183 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.009048, allocations: 268.3 kB / 0.8186 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.009078, allocations: 33.7 kB / 0.8186 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.437e-05/0.009173, allocations: 195.1 kB / 0.8188 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.009203, allocations: 31.73 kB / 0.8188 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.549e-05/0.009279, allocations: 63.34 kB / 0.8189 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.0094, allocations: 0.5006 MB / 0.8194 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.009525, allocations: 118 kB / 0.8195 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.009691, allocations: 271.2 kB / 0.8197 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.009862, allocations: 214.1 kB / 0.8199 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.009864, allocations: 0 / 0.8199 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003688/0.01023, allocations: 366.7 kB / 0.8203 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.01028, allocations: 67.39 kB / 0.8203 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.01028, allocations: 4 kB / 0.8203 GB, free: 8.207 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.0103, allocations: 0 / 0.8203 GB, free: 8.207 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/0.01038, allocations: 24.73 kB / 0.8204 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.01039, allocations: 4 kB / 0.8204 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.01055, allocations: 56.23 kB / 0.8204 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.01057, allocations: 15.97 kB / 0.8204 GB, free: 8.113 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 9.606e-05/0.01067, allocations: 172.5 kB / 0.8206 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.0107, allocations: 35.78 kB / 0.8206 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.689e-05/0.01073, allocations: 17.34 kB / 0.8207 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01074, allocations: 4 kB / 0.8207 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.01074, allocations: 0 / 0.8207 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.01075, allocations: 9.766 kB / 0.8207 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.01089, allocations: 184.6 kB / 0.8208 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01089, allocations: 0 / 0.8208 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/0.01094, allocations: 15.98 kB / 0.8209 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.01094, allocations: 5.031 kB / 0.8209 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.01095, allocations: 11.88 kB / 0.8209 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01095, allocations: 7.984 kB / 0.8209 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01095, allocations: 1.125 kB / 0.8209 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.01112, allocations: 179 kB / 0.8211 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.01114, allocations: 24.81 kB / 0.8211 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.01116, allocations: 11.92 kB / 0.8211 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.28e-05/0.0112, allocations: 9.125 kB / 0.8211 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.01126, allocations: 19.97 kB / 0.8211 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.01126, allocations: 4 kB / 0.8211 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.601e-05/0.01136, allocations: 189.9 kB / 0.8213 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01136, allocations: 0 / 0.8213 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002035/0.01156, allocations: 51.89 kB / 0.8214 GB, free: 7.098 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.0001158/0.01168, allocations: 108.5 kB / 0.8215 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002946/0.01197, allocations: 301.7 kB / 0.8217 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.01198, allocations: 4 kB / 0.8217 GB, free: 6.645 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.626e-05/0.01203, allocations: 40.95 kB / 0.8218 GB, free: 6.602 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.01227, allocations: 57.59 kB / 0.8218 GB, free: 6.551 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/0.01273, allocations: 402.2 kB / 0.8222 GB, free: 6.117 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.922e-05/0.01278, allocations: 75.98 kB / 0.8223 GB, free: 6.023 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.141e-05/0.01286, allocations: 39.45 kB / 0.8223 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.01291, allocations: 20.5 kB / 0.8224 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.01291, allocations: 0 / 0.8224 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of Templates: time 0.005638/0.01854, allocations: 3.324 MB / 0.8256 GB, free: 2.723 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.492634101305157]