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.001393/0.001393, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001031/0.001031, allocations: 177.3 kB / 23.36 MB, free: 1.133 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.9397/0.9397, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.389/2.389, allocations: 438.8 MB / 0.6827 GB, free: 13.62 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 1.513e-06/1.513e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269e-05/1.421e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001294/0.001309, allocations: 0.9689 MB / 0.8395 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.002515, allocations: 1.403 MB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.309e-05/0.002568, allocations: 0 / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.002679, allocations: 19.73 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.738e-05/0.002756, allocations: 47.59 kB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.003226, allocations: 275.3 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005234/0.003749, allocations: 387.2 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.003851, allocations: 46.3 kB / 0.8416 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.004053, allocations: 227.6 kB / 0.8419 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.004176, allocations: 95.69 kB / 0.842 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.004209, allocations: 28 kB / 0.842 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.633e-05/0.004286, allocations: 51.91 kB / 0.842 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.422e-05/0.00434, allocations: 59.77 kB / 0.8421 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.035e-05/0.00441, allocations: 91.81 kB / 0.8422 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.004625, allocations: 247.2 kB / 0.8424 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.004627, allocations: 0 / 0.8424 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.01e-07/0.004627, allocations: 0 / 0.8424 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.00463, allocations: 0 / 0.8424 GB, free: 10.29 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.0004721/0.005103, allocations: 0.4989 MB / 0.8429 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.005131, allocations: 8.625 kB / 0.8429 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.00529, allocations: 48.89 kB / 0.843 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.005483, allocations: 216.8 kB / 0.8432 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.005502, allocations: 16.38 kB / 0.8432 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.005529, allocations: 24.36 kB / 0.8432 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.005701, allocations: 167 kB / 0.8434 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.852e-06/0.005708, allocations: 192 / 0.8434 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.005719, allocations: 8.359 kB / 0.8434 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.005725, allocations: 4.375 kB / 0.8434 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.055e-05/0.005776, allocations: 47.83 kB / 0.8434 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.00622, allocations: 0.6478 MB / 0.8441 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.62e-05/0.006296, allocations: 101.1 kB / 0.8441 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.041e-05/0.006327, allocations: 36.3 kB / 0.8442 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-06/0.006334, allocations: 0 / 0.8442 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001053/0.006439, allocations: 135.5 kB / 0.8443 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 6.91e-07/0.00644, allocations: 0 / 0.8443 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0001619/0.006602, allocations: 109.4 kB / 0.8444 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.006655, allocations: 166.2 kB / 0.8446 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.878e-05/0.006754, allocations: 201 kB / 0.8448 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.006778, allocations: 37.69 kB / 0.8448 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.00683, allocations: 132.8 kB / 0.8449 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.006851, allocations: 32.17 kB / 0.845 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/0.006911, allocations: 53.67 kB / 0.845 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.735e-05/0.006978, allocations: 334.8 kB / 0.8453 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.246e-05/0.007051, allocations: 99.38 kB / 0.8454 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.007156, allocations: 220.2 kB / 0.8456 GB, free: 6.633 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.00727, allocations: 185.8 kB / 0.8458 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.007272, allocations: 0 / 0.8458 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001971/0.007469, allocations: 292.2 kB / 0.8461 GB, free: 6.094 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.374e-05/0.007512, allocations: 67.39 kB / 0.8462 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.007517, allocations: 0 / 0.8462 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.00753, allocations: 15.81 kB / 0.8462 GB, free: 6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.272e-05/0.007592, allocations: 20.2 kB / 0.8462 GB, free: 5.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.007595, allocations: 4 kB / 0.8462 GB, free: 5.977 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.007735, allocations: 63.83 kB / 0.8463 GB, free: 5.914 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.007751, allocations: 8 kB / 0.8463 GB, free: 5.906 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.276e-05/0.007824, allocations: 134.6 kB / 0.8464 GB, free: 5.766 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.007842, allocations: 19.98 kB / 0.8464 GB, free: 5.746 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.007868, allocations: 17.34 kB / 0.8464 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.007872, allocations: 15.94 kB / 0.8464 GB, free: 5.715 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.007874, allocations: 0 / 0.8464 GB, free: 5.715 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.007879, allocations: 7.984 kB / 0.8464 GB, free: 5.707 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.71e-05/0.007966, allocations: 105.8 kB / 0.8465 GB, free: 5.586 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.007967, allocations: 0 / 0.8465 GB, free: 5.586 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.008003, allocations: 15.98 kB / 0.8466 GB, free: 5.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.008005, allocations: 7.938 kB / 0.8466 GB, free: 5.562 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.008012, allocations: 7.984 kB / 0.8466 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.008014, allocations: 4 kB / 0.8466 GB, free: 5.551 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.008015, allocations: 0 / 0.8466 GB, free: 5.551 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.704e-05/0.008112, allocations: 136.3 kB / 0.8467 GB, free: 5.387 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.76e-05/0.00813, allocations: 23.8 kB / 0.8467 GB, free: 5.363 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.008143, allocations: 8.453 kB / 0.8467 GB, free: 5.355 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.706e-05/0.008181, allocations: 8 kB / 0.8468 GB, free: 5.348 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.008215, allocations: 19.91 kB / 0.8468 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.008221, allocations: 11.94 kB / 0.8468 GB, free: 5.316 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.249e-05/0.008264, allocations: 66.78 kB / 0.8468 GB, free: 5.25 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.008264, allocations: 0 / 0.8468 GB, free: 5.25 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001636/0.008428, allocations: 55.89 kB / 0.8469 GB, free: 5.195 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 8.375e-05/0.008511, allocations: 88.41 kB / 0.847 GB, free: 5.102 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001959/0.008707, allocations: 286.9 kB / 0.8473 GB, free: 4.781 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.00871, allocations: 0 / 0.8473 GB, free: 4.781 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.039e-05/0.00875, allocations: 36.78 kB / 0.8473 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.008895, allocations: 49.08 kB / 0.8473 GB, free: 4.695 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.009251, allocations: 367.5 kB / 0.8477 GB, free: 4.289 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.887e-05/0.00929, allocations: 79.98 kB / 0.8478 GB, free: 4.191 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.294e-05/0.009343, allocations: 29.62 kB / 0.8478 GB, free: 4.164 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.009471, allocations: 103.3 kB / 0.8479 GB, free: 4.062 MB / 0.8073 GB Notification: Performance of SimCode: time 3.81e-07/0.009471, allocations: 0 / 0.8479 GB, free: 4.062 MB / 0.8073 GB Notification: Performance of Templates: time 0.004726/0.0142, allocations: 3.439 MB / 0.8513 GB, free: 0.6992 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 -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.305650644004345]