Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001452/0.001452, 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.001696/0.001696, allocations: 177 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 1.033/1.033, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.558/2.558, 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.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.[0-9,]+.|extIntSig.y.[0-9,]+.|extIntSig1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.[0-9,]+.|extIntSig.y.[0-9,]+.|extIntSig1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.903e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001507/0.001526, allocations: 0.9138 MB / 0.8395 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.00291, allocations: 1.357 MB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.602e-05/0.002966, allocations: 3.938 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.885e-05/0.003065, allocations: 19.8 kB / 0.8409 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.179e-05/0.003136, allocations: 35.72 kB / 0.8409 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005343/0.003671, allocations: 251.4 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002905/0.003961, allocations: 339.3 kB / 0.8415 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.004069, allocations: 42.31 kB / 0.8415 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.00426, allocations: 195.7 kB / 0.8417 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.004386, allocations: 79.77 kB / 0.8418 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.004416, allocations: 20 kB / 0.8418 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.946e-05/0.004506, allocations: 47.92 kB / 0.8418 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.004559, allocations: 43.83 kB / 0.8419 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.004626, allocations: 75.83 kB / 0.8419 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.004832, allocations: 227.3 kB / 0.8422 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.004834, allocations: 0 / 0.8422 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.22e-07/0.004835, allocations: 0 / 0.8422 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.004839, allocations: 3.938 kB / 0.8422 GB, free: 10.57 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004522/0.005291, allocations: 451.3 kB / 0.8426 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.005324, allocations: 8.625 kB / 0.8426 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.005506, allocations: 48.89 kB / 0.8426 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.005698, allocations: 189.1 kB / 0.8428 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.005716, allocations: 12.38 kB / 0.8428 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.00574, allocations: 24.36 kB / 0.8429 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.005858, allocations: 130.2 kB / 0.843 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.005867, allocations: 8.172 kB / 0.843 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.005876, allocations: 384 / 0.843 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.005882, allocations: 4.375 kB / 0.843 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.7e-05/0.005919, allocations: 31.86 kB / 0.843 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.006307, allocations: 0.5306 MB / 0.8435 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.913e-05/0.006357, allocations: 45.16 kB / 0.8436 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.006378, allocations: 21.77 kB / 0.8436 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.63e-06/0.006384, allocations: 4 kB / 0.8436 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001046/0.006488, allocations: 93.02 kB / 0.8437 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.006489, allocations: 0 / 0.8437 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001286/0.006618, allocations: 85.53 kB / 0.8438 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.006652, allocations: 85.05 kB / 0.8439 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.006762, allocations: 207.4 kB / 0.8441 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.006781, allocations: 33.64 kB / 0.8441 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.006837, allocations: 124.3 kB / 0.8442 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.248e-05/0.00685, allocations: 19.83 kB / 0.8442 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.664e-05/0.006916, allocations: 69.59 kB / 0.8443 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.653e-05/0.006993, allocations: 326.8 kB / 0.8446 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.431e-05/0.007067, allocations: 99.38 kB / 0.8447 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.007176, allocations: 215.3 kB / 0.8449 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.007291, allocations: 172.9 kB / 0.8451 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.007293, allocations: 4 kB / 0.8451 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002136/0.007507, allocations: 288.2 kB / 0.8454 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.007545, allocations: 71.39 kB / 0.8454 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.00755, allocations: 4 kB / 0.8454 GB, free: 6.859 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.007563, allocations: 3.938 kB / 0.8454 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.198e-05/0.007605, allocations: 15.98 kB / 0.8454 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.007609, allocations: 7.922 kB / 0.8455 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.007751, allocations: 44.16 kB / 0.8455 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.007768, allocations: 11.98 kB / 0.8455 GB, free: 6.777 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt2.y,conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.51e-05/0.007843, allocations: 125.2 kB / 0.8456 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.007856, allocations: 11.98 kB / 0.8456 GB, free: 6.633 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.007885, allocations: 21.02 kB / 0.8457 GB, free: 6.613 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.007888, allocations: 3.938 kB / 0.8457 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.007889, allocations: 0 / 0.8457 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.007892, allocations: 0 / 0.8457 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.058e-05/0.007973, allocations: 109.8 kB / 0.8458 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.007974, allocations: 0 / 0.8458 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.4e-05/0.007988, allocations: 7.938 kB / 0.8458 GB, free: 6.477 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.007989, allocations: 0 / 0.8458 GB, free: 6.477 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.007995, allocations: 7.984 kB / 0.8458 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.007996, allocations: 0 / 0.8458 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007997, allocations: 0 / 0.8458 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.74e-05/0.008074, allocations: 98.36 kB / 0.8459 GB, free: 6.352 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.394e-05/0.008088, allocations: 23.84 kB / 0.8459 GB, free: 6.328 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.0081, allocations: 7.922 kB / 0.8459 GB, free: 6.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.563e-05/0.008115, allocations: 0 / 0.8459 GB, free: 6.32 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.208e-05/0.008137, allocations: 19.92 kB / 0.8459 GB, free: 6.301 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.008142, allocations: 4 kB / 0.8459 GB, free: 6.297 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.602e-05/0.008178, allocations: 49.73 kB / 0.846 GB, free: 6.246 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008178, allocations: 0 / 0.846 GB, free: 6.246 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001432/0.008321, allocations: 43.92 kB / 0.846 GB, free: 6.203 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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 9.933e-05/0.00842, allocations: 80.42 kB / 0.8461 GB, free: 6.117 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.008623, allocations: 274.9 kB / 0.8464 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.008627, allocations: 4.375 kB / 0.8464 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.462e-05/0.008652, allocations: 28.78 kB / 0.8464 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.008784, allocations: 39.91 kB / 0.8464 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003338/0.009118, allocations: 289 kB / 0.8467 GB, free: 5.422 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.315e-05/0.009151, allocations: 71.98 kB / 0.8468 GB, free: 5.332 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.475e-05/0.009186, allocations: 21.48 kB / 0.8468 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.009297, allocations: 95.33 kB / 0.8469 GB, free: 5.219 MB / 0.8073 GB Notification: Performance of SimCode: time 6.51e-07/0.009298, allocations: 0 / 0.8469 GB, free: 5.219 MB / 0.8073 GB Notification: Performance of Templates: time 0.004417/0.01371, allocations: 2.882 MB / 0.8497 GB, free: 2.41 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.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.580874468199909]