Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.001373/0.001373, 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.001558/0.001558, 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.9667/0.9667, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.542/2.542, allocations: 438.8 MB / 0.6826 GB, free: 13.61 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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.886e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001082/0.001101, allocations: 0.5885 MB / 0.8392 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 5.008e-05/0.001151, allocations: 0 / 0.8392 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.586e-05/0.001177, allocations: 0 / 0.8392 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.001202, allocations: 11.88 kB / 0.8392 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.677e-05/0.001228, allocations: 0 / 0.8392 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 2.972e-05/0.001258, allocations: 0 / 0.8392 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.149e-05/0.00131, allocations: 7.984 kB / 0.8392 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.00135, allocations: 3.984 kB / 0.8392 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.831e-05/0.001379, allocations: 0 / 0.8392 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.248e-05/0.001401, allocations: 0 / 0.8392 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.001417, allocations: 0 / 0.8392 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.088e-06/0.001422, allocations: 4 kB / 0.8392 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.001434, allocations: 0 / 0.8392 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.351e-05/0.001448, allocations: 4 kB / 0.8392 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 4.744e-05/0.001495, allocations: 4 kB / 0.8392 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.562e-06/0.001497, allocations: 0 / 0.8392 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.11e-07/0.001497, allocations: 0 / 0.8392 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.925e-06/0.0015, allocations: 0 / 0.8392 GB, free: 13.55 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.0001915/0.001692, allocations: 213.1 kB / 0.8394 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.001723, allocations: 12.62 kB / 0.8395 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.897e-05/0.001742, allocations: 0.9375 kB / 0.8395 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.037e-05/0.001822, allocations: 101.8 kB / 0.8395 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.001831, allocations: 8.312 kB / 0.8396 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.001839, allocations: 384 / 0.8396 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.999e-05/0.001889, allocations: 30.2 kB / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.001896, allocations: 4.188 kB / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-06/0.001902, allocations: 384 / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.001906, allocations: 384 / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.943e-06/0.001913, allocations: 11.92 kB / 0.8396 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.002073, allocations: 290.9 kB / 0.8399 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.341e-05/0.002137, allocations: 173.1 kB / 0.84 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.07e-05/0.002157, allocations: 84.17 kB / 0.8401 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.002174, allocations: 75.28 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.002205, allocations: 105.8 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.002206, allocations: 0 / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.19e-05/0.002248, allocations: 37.69 kB / 0.8403 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.002297, allocations: 134.6 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.028e-05/0.002347, allocations: 98.7 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-06/0.002353, allocations: 25.7 kB / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.718e-05/0.002381, allocations: 84.14 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.81e-07/0.002381, allocations: 0 / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/0.002397, allocations: 13.72 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.099e-05/0.002468, allocations: 314.8 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-06/0.00247, allocations: 0 / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.916e-06/0.002473, allocations: 4 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.622e-05/0.002489, allocations: 79.41 kB / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-05/0.002505, allocations: 75.28 kB / 0.8411 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.906e-05/0.002534, allocations: 25.7 kB / 0.8411 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.002561, allocations: 87.27 kB / 0.8412 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.002581, allocations: 79.22 kB / 0.8413 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.683e-05/0.002618, allocations: 150.6 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.414e-05/0.002642, allocations: 87.16 kB / 0.8415 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.119e-05/0.002673, allocations: 150.6 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.892e-05/0.002712, allocations: 79.31 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.002735, allocations: 83.22 kB / 0.8418 GB, free: 10.72 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.225e-05/0.002817, allocations: 264.4 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.002849, allocations: 105 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.002885, allocations: 111.9 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.815e-05/0.002923, allocations: 180.2 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.059e-05/0.002964, allocations: 184.2 kB / 0.8426 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.093e-05/0.003005, allocations: 184.2 kB / 0.8428 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.003124, allocations: 317.4 kB / 0.8431 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-05/0.003148, allocations: 104.9 kB / 0.8432 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.373e-05/0.003172, allocations: 105 kB / 0.8433 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.915e-05/0.003211, allocations: 176.3 kB / 0.8435 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.18e-05/0.003253, allocations: 188.2 kB / 0.8437 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.096e-05/0.003294, allocations: 180.2 kB / 0.8438 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.824e-05/0.003332, allocations: 184.6 kB / 0.844 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.073e-05/0.003422, allocations: 311.7 kB / 0.8443 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.003464, allocations: 109 kB / 0.8444 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/0.003529, allocations: 180.3 kB / 0.8446 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.586e-05/0.003575, allocations: 108.9 kB / 0.8447 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.003623, allocations: 176.3 kB / 0.8449 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.003647, allocations: 108.9 kB / 0.845 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.111e-05/0.003658, allocations: 8.797 kB / 0.845 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.003658, allocations: 96 / 0.845 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001348/0.003793, allocations: 4 kB / 0.845 GB, free: 7.32 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 0.0001027/0.003896, allocations: 155.7 kB / 0.8451 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 3.303e-05/0.003929, allocations: 0 / 0.8451 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.003931, allocations: 0 / 0.8451 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.003932, allocations: 0 / 0.8451 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.004145, allocations: 461.8 kB / 0.8456 GB, free: 6.707 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001772/0.004322, allocations: 161.3 kB / 0.8457 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.042e-05/0.004353, allocations: 55.34 kB / 0.8458 GB, free: 6.449 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.633e-06/0.004355, allocations: 4 kB / 0.8458 GB, free: 6.445 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.004377, allocations: 47.38 kB / 0.8458 GB, free: 6.398 MB / 0.8073 GB Notification: Performance of SimCode: time 6.71e-07/0.004378, allocations: 0 / 0.8458 GB, free: 6.398 MB / 0.8073 GB Notification: Performance of Templates: time 0.001192/0.005569, allocations: 172.7 kB / 0.846 GB, free: 6.23 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_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.332576053217053]