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.001479/0.001479, allocations: 71.75 kB / 20.97 MB, free: 3.57 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.001067/0.001067, allocations: 165 kB / 24.27 MB, free: 280 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 0.985/0.985, allocations: 177.2 MB / 204.6 MB, free: 5.609 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.943/1.943, allocations: 377.8 MB / 0.6239 GB, free: 8.539 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.492e-06/1.492e-06, allocations: 0 / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.597e-05, allocations: 3.469 kB / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001571/0.001597, allocations: 0.9849 MB / 0.8125 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.002892, allocations: 1.381 MB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.002954, allocations: 8.844 kB / 0.8139 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 8.727e-05/0.003041, allocations: 15.8 kB / 0.8139 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.003107, allocations: 48.72 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004719/0.003579, allocations: 268.2 kB / 0.8142 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.003861, allocations: 388.1 kB / 0.8145 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.003976, allocations: 41.78 kB / 0.8146 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.004157, allocations: 224.2 kB / 0.8148 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.004268, allocations: 103.7 kB / 0.8149 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.879e-05/0.004306, allocations: 37.28 kB / 0.8149 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.765e-05/0.004374, allocations: 44 kB / 0.815 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.004432, allocations: 67.75 kB / 0.815 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.022e-05/0.004512, allocations: 96.36 kB / 0.8151 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.00475, allocations: 296.2 kB / 0.8154 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.004752, allocations: 0 / 0.8154 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004752, allocations: 0 / 0.8154 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.004756, allocations: 0 / 0.8154 GB, free: 14.1 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.000652/0.005408, allocations: 0.626 MB / 0.816 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.005439, allocations: 12.03 kB / 0.816 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002399/0.005679, allocations: 84.7 kB / 0.8161 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.006093, allocations: 285 kB / 0.8164 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.006114, allocations: 12.38 kB / 0.8164 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.006142, allocations: 21.62 kB / 0.8164 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.00635, allocations: 181.2 kB / 0.8166 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.006358, allocations: 1.719 kB / 0.8166 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.006372, allocations: 12.31 kB / 0.8166 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.006381, allocations: 8.125 kB / 0.8166 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.664e-05/0.006458, allocations: 45.25 kB / 0.8167 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006049/0.007062, allocations: 1.004 MB / 0.8176 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.007174, allocations: 152 kB / 0.8178 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/0.007224, allocations: 47.02 kB / 0.8178 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.007237, allocations: 12.81 kB / 0.8178 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.007383, allocations: 152.1 kB / 0.818 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.007385, allocations: 4 kB / 0.818 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0002432/0.007628, allocations: 135.3 kB / 0.8181 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.007687, allocations: 158.2 kB / 0.8183 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.007846, allocations: 273.5 kB / 0.8185 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.007871, allocations: 37.64 kB / 0.8186 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.397e-05/0.007955, allocations: 199.1 kB / 0.8188 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.007979, allocations: 28.5 kB / 0.8188 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.878e-05/0.008048, allocations: 59.34 kB / 0.8188 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.008153, allocations: 0.5046 MB / 0.8193 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.008269, allocations: 115.4 kB / 0.8194 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.008423, allocations: 268.2 kB / 0.8197 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.008582, allocations: 215.2 kB / 0.8199 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.008585, allocations: 4 kB / 0.8199 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000331/0.008916, allocations: 366.4 kB / 0.8203 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.00895, allocations: 67.41 kB / 0.8203 GB, free: 8.543 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.008954, allocations: 0.9688 kB / 0.8203 GB, free: 8.543 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.008967, allocations: 4 kB / 0.8203 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-05/0.009044, allocations: 27.3 kB / 0.8203 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.009051, allocations: 7.922 kB / 0.8204 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.009199, allocations: 51.83 kB / 0.8204 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.00922, allocations: 19.98 kB / 0.8204 GB, free: 8.438 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 8.861e-05/0.009308, allocations: 179.2 kB / 0.8206 GB, free: 8.254 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.009334, allocations: 32.77 kB / 0.8206 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.009367, allocations: 23.27 kB / 0.8206 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.00937, allocations: 4 kB / 0.8207 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.009374, allocations: 0 / 0.8207 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.009378, allocations: 3.984 kB / 0.8207 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.009505, allocations: 184.6 kB / 0.8208 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.009508, allocations: 5.094 kB / 0.8208 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-05/0.009549, allocations: 15.98 kB / 0.8209 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.009551, allocations: 4 kB / 0.8209 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.009561, allocations: 8.594 kB / 0.8209 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.009563, allocations: 4 kB / 0.8209 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.009564, allocations: 6.188 kB / 0.8209 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.00972, allocations: 175 kB / 0.821 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.98e-05/0.009739, allocations: 27.77 kB / 0.8211 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.009756, allocations: 7.938 kB / 0.8211 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.339e-05/0.0098, allocations: 15.08 kB / 0.8211 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.009846, allocations: 23.92 kB / 0.8211 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.009855, allocations: 7.984 kB / 0.8211 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.366e-05/0.009938, allocations: 185.1 kB / 0.8213 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009938, allocations: 0 / 0.8213 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001825/0.01012, allocations: 51.89 kB / 0.8213 GB, free: 7.418 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.0001103/0.01023, allocations: 107.2 kB / 0.8214 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002766/0.01051, allocations: 299.8 kB / 0.8217 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01051, allocations: 0 / 0.8217 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.335e-05/0.01056, allocations: 44.66 kB / 0.8218 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.01078, allocations: 56.92 kB / 0.8218 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005116/0.01129, allocations: 396 kB / 0.8222 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.23e-05/0.01134, allocations: 79.97 kB / 0.8223 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.132e-05/0.01141, allocations: 33.53 kB / 0.8223 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.01144, allocations: 20.5 kB / 0.8223 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of SimCode: time 9.62e-07/0.01144, allocations: 0 / 0.8223 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of Templates: time 0.004729/0.01617, allocations: 3.331 MB / 0.8256 GB, free: 3.051 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.367797688115388]