Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.001344/0.001344, 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.001169/0.001169, 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.009/1.009, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.516/2.516, allocations: 438.8 MB / 0.6827 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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.129e-05, allocations: 12.78 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.004563/0.004584, allocations: 0.5988 MB / 0.8392 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 4.362e-05/0.004628, allocations: 0 / 0.8392 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.403e-05/0.004652, allocations: 4 kB / 0.8392 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.212e-05/0.004674, allocations: 0 / 0.8392 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.743e-05/0.004701, allocations: 3.938 kB / 0.8392 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.156e-05/0.004733, allocations: 3.984 kB / 0.8392 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.473e-05/0.004778, allocations: 0 / 0.8392 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.986e-05/0.004818, allocations: 7.984 kB / 0.8392 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.851e-05/0.004846, allocations: 8 kB / 0.8393 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.06e-05/0.004867, allocations: 0 / 0.8393 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.004879, allocations: 0 / 0.8393 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.878e-06/0.004883, allocations: 3.938 kB / 0.8393 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.004895, allocations: 0 / 0.8393 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.096e-05/0.004906, allocations: 0 / 0.8393 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 5.345e-05/0.004959, allocations: 4 kB / 0.8393 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.004961, allocations: 0 / 0.8393 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004962, allocations: 0 / 0.8393 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.004965, allocations: 0 / 0.8393 GB, free: 13.52 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002259/0.005191, allocations: 213.1 kB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.005226, allocations: 12.62 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.14e-05/0.005247, allocations: 4.938 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.148e-05/0.005339, allocations: 105.8 kB / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.005348, allocations: 384 / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-06/0.005352, allocations: 4.312 kB / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.932e-05/0.005412, allocations: 34.27 kB / 0.8396 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.005419, allocations: 192 / 0.8396 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-06/0.005425, allocations: 4.359 kB / 0.8396 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.00543, allocations: 384 / 0.8396 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.895e-06/0.005438, allocations: 7.875 kB / 0.8396 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.005619, allocations: 294.9 kB / 0.8399 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.548e-05/0.005684, allocations: 169.1 kB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.256e-05/0.005707, allocations: 80.14 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.005726, allocations: 75.28 kB / 0.8402 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.005765, allocations: 113.8 kB / 0.8403 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.005766, allocations: 0 / 0.8403 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.895e-05/0.005815, allocations: 25.7 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.005862, allocations: 134.6 kB / 0.8405 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.096e-05/0.005923, allocations: 102.7 kB / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.005931, allocations: 25.7 kB / 0.8406 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.146e-05/0.005963, allocations: 88.25 kB / 0.8407 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.71e-07/0.005963, allocations: 0 / 0.8407 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.005985, allocations: 13.72 kB / 0.8407 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.472e-05/0.00607, allocations: 310.8 kB / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.725e-06/0.006072, allocations: 0 / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.108e-06/0.006077, allocations: 0 / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.284e-05/0.006099, allocations: 75.28 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.972e-05/0.006119, allocations: 79.22 kB / 0.8411 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.501e-05/0.006164, allocations: 29.7 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.006195, allocations: 79.28 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.758e-05/0.006222, allocations: 79.28 kB / 0.8413 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.634e-05/0.006278, allocations: 162.5 kB / 0.8415 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.355e-05/0.006302, allocations: 79.22 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-05/0.006344, allocations: 158.5 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.068e-05/0.006404, allocations: 83.31 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.006424, allocations: 75.28 kB / 0.8419 GB, free: 10.69 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.271e-05/0.006506, allocations: 260.4 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.006549, allocations: 104.9 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.708e-05/0.006587, allocations: 111.9 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003189/0.006905, allocations: 184.2 kB / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-05/0.006949, allocations: 180.2 kB / 0.8427 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.363e-05/0.006993, allocations: 180.3 kB / 0.8428 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.007148, allocations: 329.4 kB / 0.8431 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.804e-05/0.007176, allocations: 101 kB / 0.8432 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.788e-05/0.007214, allocations: 112.9 kB / 0.8434 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.171e-05/0.007256, allocations: 176.3 kB / 0.8435 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.46e-05/0.0073, allocations: 176.3 kB / 0.8437 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.427e-05/0.007345, allocations: 188.2 kB / 0.8439 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.366e-05/0.007388, allocations: 180.6 kB / 0.844 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.687e-05/0.007485, allocations: 311.7 kB / 0.8443 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/0.007516, allocations: 108.9 kB / 0.8444 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.842e-05/0.007564, allocations: 184.2 kB / 0.8446 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.189e-05/0.007626, allocations: 109 kB / 0.8447 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.007674, allocations: 180.2 kB / 0.8449 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.0077, allocations: 101 kB / 0.845 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.408e-05/0.007714, allocations: 12.8 kB / 0.845 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.007714, allocations: 0 / 0.845 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002007/0.007914, allocations: 0 / 0.845 GB, free: 7.289 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 9.079e-05/0.008005, allocations: 151.7 kB / 0.8451 GB, free: 7.133 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 3.156e-05/0.008037, allocations: 11.94 kB / 0.8452 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.00804, allocations: 4.094 kB / 0.8452 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.008041, allocations: 0 / 0.8452 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.00827, allocations: 457.6 kB / 0.8456 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001522/0.008423, allocations: 155 kB / 0.8457 GB, free: 6.488 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.173e-05/0.008454, allocations: 55.36 kB / 0.8458 GB, free: 6.414 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.086e-06/0.008457, allocations: 3.984 kB / 0.8458 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.008483, allocations: 47.38 kB / 0.8458 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of SimCode: time 4.11e-07/0.008483, allocations: 0 / 0.8458 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of Templates: time 0.00138/0.009864, allocations: 172.8 kB / 0.846 GB, free: 6.195 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.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.341755500994623]