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.0009801/0.0009801, allocations: 80.75 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.001001/0.001001, allocations: 181 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.919/0.919, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.393/2.393, allocations: 438.8 MB / 0.6827 GB, free: 13.56 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 2.004e-06/2.004e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.865e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001389/0.001418, allocations: 0.5623 MB / 0.8391 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 3.367e-05/0.001451, allocations: 0 / 0.8391 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.95e-05/0.001471, allocations: 0 / 0.8391 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.025e-05/0.001491, allocations: 3.938 kB / 0.8391 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.016e-05/0.001511, allocations: 4 kB / 0.8391 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 2.212e-05/0.001533, allocations: 4 kB / 0.8392 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 3.888e-05/0.001572, allocations: 4 kB / 0.8392 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.934e-05/0.001602, allocations: 3.984 kB / 0.8392 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.171e-05/0.001623, allocations: 3.938 kB / 0.8392 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 1.799e-05/0.001641, allocations: 4 kB / 0.8392 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.001653, allocations: 0 / 0.8392 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 2.635e-06/0.001656, allocations: 0 / 0.8392 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.115e-06/0.001664, allocations: 0 / 0.8392 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.458e-06/0.001673, allocations: 3.984 kB / 0.8392 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 3.304e-05/0.001706, allocations: 4 kB / 0.8392 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.001708, allocations: 0 / 0.8392 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.31e-07/0.001708, allocations: 0 / 0.8392 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.605e-06/0.001711, allocations: 0 / 0.8392 GB, free: 13.58 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.0001881/0.001899, allocations: 217.1 kB / 0.8394 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.001931, allocations: 8.625 kB / 0.8394 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.017e-05/0.001951, allocations: 0.9375 kB / 0.8394 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.808e-05/0.002019, allocations: 109.8 kB / 0.8395 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.002027, allocations: 384 / 0.8395 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-06/0.002034, allocations: 384 / 0.8395 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.492e-05/0.002079, allocations: 30.2 kB / 0.8395 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.002087, allocations: 8.188 kB / 0.8395 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.188e-06/0.002091, allocations: 384 / 0.8395 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.002096, allocations: 384 / 0.8395 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.013e-06/0.002103, allocations: 7.922 kB / 0.8395 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.002251, allocations: 286.9 kB / 0.8398 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.661e-05/0.002317, allocations: 185.1 kB / 0.84 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.149e-05/0.002339, allocations: 80.14 kB / 0.8401 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.002356, allocations: 75.28 kB / 0.8401 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.002386, allocations: 109.8 kB / 0.8402 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 6.31e-07/0.002387, allocations: 0 / 0.8402 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 3.413e-05/0.002421, allocations: 33.7 kB / 0.8403 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.002462, allocations: 130.6 kB / 0.8404 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.631e-05/0.002509, allocations: 94.72 kB / 0.8405 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.002516, allocations: 25.7 kB / 0.8405 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.603e-05/0.002542, allocations: 88.08 kB / 0.8406 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.72e-07/0.002542, allocations: 0 / 0.8406 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.493e-05/0.002557, allocations: 13.7 kB / 0.8406 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.206e-05/0.002629, allocations: 318.8 kB / 0.8409 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.224e-06/0.002632, allocations: 0 / 0.8409 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-06/0.002635, allocations: 0 / 0.8409 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.951e-05/0.002654, allocations: 79.41 kB / 0.841 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.708e-05/0.002671, allocations: 75.28 kB / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.053e-05/0.002702, allocations: 29.7 kB / 0.8411 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.002726, allocations: 81.31 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.002748, allocations: 83.22 kB / 0.8412 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.095e-05/0.002789, allocations: 154.6 kB / 0.8414 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.235e-05/0.002811, allocations: 79.22 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.297e-05/0.002844, allocations: 158.5 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.751e-05/0.002882, allocations: 83.31 kB / 0.8417 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.002898, allocations: 79.22 kB / 0.8418 GB, free: 10.75 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 6.9e-05/0.002967, allocations: 260.4 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.002998, allocations: 105 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.003032, allocations: 107.9 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.762e-05/0.00307, allocations: 184.2 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.029e-05/0.00311, allocations: 184.2 kB / 0.8426 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.809e-05/0.003148, allocations: 180.2 kB / 0.8428 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.003267, allocations: 313.5 kB / 0.8431 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-05/0.003293, allocations: 108.9 kB / 0.8432 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.44e-05/0.003317, allocations: 101 kB / 0.8433 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.424e-05/0.003361, allocations: 184.2 kB / 0.8434 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/0.003401, allocations: 180.2 kB / 0.8436 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.749e-05/0.003438, allocations: 184.3 kB / 0.8438 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.912e-05/0.003477, allocations: 188.5 kB / 0.844 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.172e-05/0.003559, allocations: 307.8 kB / 0.8442 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.003586, allocations: 104.9 kB / 0.8443 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/0.003629, allocations: 180.3 kB / 0.8445 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.651e-05/0.003676, allocations: 116.9 kB / 0.8446 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.00372, allocations: 184.3 kB / 0.8448 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.003744, allocations: 101 kB / 0.8449 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.276e-05/0.003757, allocations: 12.73 kB / 0.8449 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.003757, allocations: 96 / 0.8449 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001198/0.003877, allocations: 4 kB / 0.8449 GB, free: 7.348 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.038e-05/0.003967, allocations: 151.7 kB / 0.8451 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 2.611e-05/0.003993, allocations: 0 / 0.8451 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.003996, allocations: 4 kB / 0.8451 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.12e-07/0.003997, allocations: 0 / 0.8451 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.004193, allocations: 459.7 kB / 0.8455 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001514/0.004344, allocations: 162 kB / 0.8457 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.777e-05/0.004372, allocations: 51.36 kB / 0.8457 GB, free: 6.48 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.382e-06/0.004374, allocations: 7.938 kB / 0.8457 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.978e-05/0.004393, allocations: 47.38 kB / 0.8458 GB, free: 6.426 MB / 0.8073 GB Notification: Performance of SimCode: time 4e-07/0.004394, allocations: 0 / 0.8458 GB, free: 6.426 MB / 0.8073 GB Notification: Performance of Templates: time 0.001192/0.005586, allocations: 176.8 kB / 0.8459 GB, free: 6.254 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 -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.169034436810762]