Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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: 80.94 kB / 19.94 MB, free: 4.543 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.001765/0.001765, allocations: 177 kB / 23.36 MB, free: 1.129 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.054/1.054, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.474/2.474, allocations: 438.8 MB / 0.6826 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.257e-06/3.257e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.588e-05, allocations: 12.92 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002049/0.002075, allocations: 1.017 MB / 0.8396 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.003709, allocations: 1.4 MB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.416e-05/0.003803, allocations: 7.938 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.003946, allocations: 15.8 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.004053, allocations: 51.53 kB / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000629/0.004682, allocations: 267.4 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000366/0.005048, allocations: 391.1 kB / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.005184, allocations: 50.3 kB / 0.8417 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.005438, allocations: 227.6 kB / 0.842 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.005584, allocations: 95.75 kB / 0.842 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.676e-05/0.005621, allocations: 24 kB / 0.8421 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.005729, allocations: 51.84 kB / 0.8421 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.005786, allocations: 51.78 kB / 0.8422 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.949e-05/0.005865, allocations: 95.8 kB / 0.8423 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.006124, allocations: 247.2 kB / 0.8425 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.006127, allocations: 0 / 0.8425 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.82e-07/0.006128, allocations: 3.938 kB / 0.8425 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.006133, allocations: 0 / 0.8425 GB, free: 10.19 MB / 0.8073 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.0005599/0.006693, allocations: 0.4989 MB / 0.843 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.006724, allocations: 8.625 kB / 0.843 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.006928, allocations: 52.88 kB / 0.843 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.007156, allocations: 216.8 kB / 0.8432 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.007179, allocations: 12.38 kB / 0.8433 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.007203, allocations: 24.38 kB / 0.8433 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.007403, allocations: 167.1 kB / 0.8434 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.007415, allocations: 192 / 0.8434 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.007427, allocations: 4.375 kB / 0.8434 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.007436, allocations: 8.375 kB / 0.8435 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.377e-05/0.00749, allocations: 35.86 kB / 0.8435 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.008047, allocations: 0.6479 MB / 0.8441 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.008151, allocations: 97.05 kB / 0.8442 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.603e-05/0.008187, allocations: 36.36 kB / 0.8442 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.008199, allocations: 7.938 kB / 0.8443 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/0.008338, allocations: 131.4 kB / 0.8444 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 2.244e-06/0.00834, allocations: 0 / 0.8444 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0001937/0.008534, allocations: 117.6 kB / 0.8445 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.008592, allocations: 154.2 kB / 0.8446 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.008713, allocations: 217 kB / 0.8448 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.008736, allocations: 29.7 kB / 0.8449 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.0088, allocations: 136.8 kB / 0.845 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.008826, allocations: 31.78 kB / 0.845 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.008893, allocations: 49.67 kB / 0.8451 GB, free: 7.254 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8e-05/0.008973, allocations: 330.8 kB / 0.8454 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.732e-05/0.009061, allocations: 99.75 kB / 0.8455 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.009179, allocations: 224.2 kB / 0.8457 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.009311, allocations: 185.8 kB / 0.8459 GB, free: 6.312 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.009313, allocations: 0 / 0.8459 GB, free: 6.312 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002253/0.009538, allocations: 292.2 kB / 0.8462 GB, free: 5.996 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.875e-05/0.009587, allocations: 71.39 kB / 0.8462 GB, free: 5.914 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.009592, allocations: 0 / 0.8462 GB, free: 5.914 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.009608, allocations: 7.938 kB / 0.8462 GB, free: 5.906 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.101e-05/0.009689, allocations: 27.92 kB / 0.8463 GB, free: 5.879 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.009695, allocations: 7.984 kB / 0.8463 GB, free: 5.871 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.00985, allocations: 60.06 kB / 0.8463 GB, free: 5.812 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.009869, allocations: 12 kB / 0.8463 GB, free: 5.801 MB / 0.8073 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 7.91e-05/0.009948, allocations: 128.6 kB / 0.8465 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.009969, allocations: 15.98 kB / 0.8465 GB, free: 5.648 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.01, allocations: 21.33 kB / 0.8465 GB, free: 5.633 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.01, allocations: 7.938 kB / 0.8465 GB, free: 5.625 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.01001, allocations: 0 / 0.8465 GB, free: 5.625 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01001, allocations: 7.938 kB / 0.8465 GB, free: 5.617 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.01012, allocations: 121.8 kB / 0.8466 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.01012, allocations: 0 / 0.8466 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.9e-05/0.01017, allocations: 19.98 kB / 0.8467 GB, free: 5.461 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01017, allocations: 0 / 0.8467 GB, free: 5.461 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.01018, allocations: 4 kB / 0.8467 GB, free: 5.457 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.01019, allocations: 3.938 kB / 0.8467 GB, free: 5.453 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01019, allocations: 0 / 0.8467 GB, free: 5.453 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.0103, allocations: 128.5 kB / 0.8468 GB, free: 5.297 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.01032, allocations: 27.78 kB / 0.8468 GB, free: 5.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.01034, allocations: 4 kB / 0.8468 GB, free: 5.266 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.282e-05/0.01038, allocations: 15.98 kB / 0.8468 GB, free: 5.25 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.01042, allocations: 19.86 kB / 0.8468 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.01043, allocations: 4 kB / 0.8468 GB, free: 5.227 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.91e-05/0.01048, allocations: 74.78 kB / 0.8469 GB, free: 5.152 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.01048, allocations: 0 / 0.8469 GB, free: 5.152 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001707/0.01065, allocations: 55.88 kB / 0.847 GB, free: 5.098 MB / 0.8073 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.0001179/0.01077, allocations: 76.42 kB / 0.847 GB, free: 5.016 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002379/0.011, allocations: 294.8 kB / 0.8473 GB, free: 4.688 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.01101, allocations: 0 / 0.8473 GB, free: 4.688 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.468e-05/0.01105, allocations: 36.77 kB / 0.8474 GB, free: 4.648 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.01122, allocations: 45.09 kB / 0.8474 GB, free: 4.605 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.01168, allocations: 372.3 kB / 0.8478 GB, free: 4.195 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.599e-05/0.01173, allocations: 79.97 kB / 0.8478 GB, free: 4.098 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.175e-05/0.01179, allocations: 25.64 kB / 0.8479 GB, free: 4.074 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.01197, allocations: 107.3 kB / 0.848 GB, free: 3.969 MB / 0.8073 GB Notification: Performance of SimCode: time 6.91e-07/0.01197, allocations: 0 / 0.848 GB, free: 3.969 MB / 0.8073 GB Notification: Performance of Templates: time 0.005682/0.01765, allocations: 3.454 MB / 0.8513 GB, free: 0.5977 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.391072681173682]