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.001043/0.001043, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009997/0.0009997, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.8964/0.8964, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.003/2.003, allocations: 429.5 MB / 0.6732 GB, free: 4.066 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 2.014e-06/2.014e-06, allocations: 0 / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.935e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001135/0.001155, allocations: 0.6007 MB / 0.8788 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 5.317e-05/0.001208, allocations: 9.266 kB / 0.8788 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.769e-05/0.001236, allocations: 4.656 kB / 0.8788 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.001266, allocations: 3.938 kB / 0.8788 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.891e-05/0.001295, allocations: 1.094 kB / 0.8788 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.583e-05/0.001331, allocations: 0 / 0.8788 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.169e-05/0.001392, allocations: 0.7656 kB / 0.8788 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.318e-05/0.001435, allocations: 4.719 kB / 0.8788 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.146e-05/0.001467, allocations: 0.6562 kB / 0.8788 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.437e-05/0.001491, allocations: 1.562 kB / 0.8788 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.001512, allocations: 0 / 0.8788 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.578e-06/0.001516, allocations: 0.7656 kB / 0.8788 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.001529, allocations: 0 / 0.8788 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.001549, allocations: 0.9062 kB / 0.8788 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 6.142e-05/0.00161, allocations: 8.547 kB / 0.8788 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.001612, allocations: 0 / 0.8788 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.31e-07/0.001612, allocations: 1.75 kB / 0.8788 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.001616, allocations: 0 / 0.8788 GB, free: 5.676 MB / 0.8386 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.000256/0.001872, allocations: 340.4 kB / 0.8792 GB, free: 5.305 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.001908, allocations: 8.594 kB / 0.8792 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.001937, allocations: 1.938 kB / 0.8792 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.189e-05/0.002009, allocations: 112.6 kB / 0.8793 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.002019, allocations: 2.312 kB / 0.8793 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-06/0.002027, allocations: 384 / 0.8793 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.696e-05/0.002104, allocations: 39.33 kB / 0.8793 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.002112, allocations: 192 / 0.8793 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.002122, allocations: 4.359 kB / 0.8793 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.002129, allocations: 1.406 kB / 0.8793 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.161e-05/0.002141, allocations: 7.922 kB / 0.8793 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.002422, allocations: 470.2 kB / 0.8798 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.634e-05/0.002519, allocations: 278.9 kB / 0.8801 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.055e-05/0.002559, allocations: 126.9 kB / 0.8802 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.002591, allocations: 119.2 kB / 0.8803 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/0.00264, allocations: 155.9 kB / 0.8804 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.00264, allocations: 0 / 0.8804 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.319e-05/0.002694, allocations: 37.62 kB / 0.8805 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.00275, allocations: 170.6 kB / 0.8806 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.885e-05/0.002828, allocations: 149.9 kB / 0.8808 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.00284, allocations: 29.7 kB / 0.8808 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.002881, allocations: 134.8 kB / 0.8809 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-06/0.002883, allocations: 0 / 0.8809 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.736e-05/0.0029, allocations: 16.62 kB / 0.881 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.003013, allocations: 492.1 kB / 0.8814 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-06/0.003018, allocations: 0 / 0.8814 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.099e-06/0.003023, allocations: 4.75 kB / 0.8814 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.433e-05/0.003057, allocations: 120.8 kB / 0.8815 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.009e-05/0.003088, allocations: 119.2 kB / 0.8817 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.604e-05/0.003124, allocations: 29.69 kB / 0.8817 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.172e-05/0.003165, allocations: 127.2 kB / 0.8818 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.269e-05/0.003198, allocations: 128.2 kB / 0.8819 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-05/0.003268, allocations: 238.4 kB / 0.8822 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.158e-05/0.0033, allocations: 127.3 kB / 0.8823 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.938e-05/0.003359, allocations: 250.5 kB / 0.8825 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.003409, allocations: 119.2 kB / 0.8826 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.00344, allocations: 127.1 kB / 0.8828 GB, free: 1.473 MB / 0.8386 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 0.000115/0.003555, allocations: 394.9 kB / 0.8831 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.003601, allocations: 144.9 kB / 0.8833 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.529e-05/0.003657, allocations: 163.8 kB / 0.8834 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.204e-05/0.003719, allocations: 264.1 kB / 0.8837 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.296e-05/0.003782, allocations: 264.1 kB / 0.8839 GB, free: 232 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.828e-05/0.00386, allocations: 276 kB / 0.8842 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.004028, allocations: 495.9 kB / 0.8847 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-05/0.004064, allocations: 160.8 kB / 0.8848 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.198e-05/0.004096, allocations: 144.9 kB / 0.885 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.258e-05/0.004159, allocations: 268.1 kB / 0.8852 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.093e-05/0.00422, allocations: 272 kB / 0.8855 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.434e-05/0.004274, allocations: 272 kB / 0.8857 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-05/0.004327, allocations: 268 kB / 0.886 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.00444, allocations: 448 kB / 0.8864 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.004483, allocations: 148.8 kB / 0.8866 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.771e-05/0.004551, allocations: 264.1 kB / 0.8868 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.27e-05/0.004604, allocations: 156.8 kB / 0.887 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.81e-05/0.004672, allocations: 272.1 kB / 0.8872 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.004708, allocations: 149.2 kB / 0.8874 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.019e-05/0.004748, allocations: 127.1 kB / 0.8875 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.7e-07/0.004748, allocations: 0 / 0.8875 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001468/0.004895, allocations: 0 / 0.8875 GB, free: 12.43 MB / 0.8542 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.86e-05/0.004994, allocations: 210.4 kB / 0.8877 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.19e-05/0.005036, allocations: 4 kB / 0.8877 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.005037, allocations: 0 / 0.8877 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.005038, allocations: 0 / 0.8877 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.005342, allocations: 0.7063 MB / 0.8884 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002005/0.005543, allocations: 215.3 kB / 0.8886 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.231e-05/0.005575, allocations: 51.36 kB / 0.8886 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.044e-06/0.005577, allocations: 3.938 kB / 0.8886 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.116e-05/0.005588, allocations: 8.5 kB / 0.8886 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of SimCode: time 7.31e-07/0.005589, allocations: 4 kB / 0.8886 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of Templates: time 0.001461/0.007051, allocations: 164.8 kB / 0.8888 GB, free: 11.02 MB / 0.8542 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.145076009910554]