Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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.001005/0.001005, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009377/0.0009377, allocations: 173 kB / 23.49 MB, free: 1.062 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.038/1.038, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.099/2.099, allocations: 429.5 MB / 0.6736 GB, free: 4.035 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.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 0.8782 GB, free: 5.508 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.329e-05, allocations: 2.312 kB / 0.8782 GB, free: 5.504 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001788/0.001821, allocations: 0.8194 MB / 0.879 GB, free: 4.711 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001178/0.001939, allocations: 44.77 kB / 0.879 GB, free: 4.668 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.641e-05/0.001985, allocations: 1.062 kB / 0.879 GB, free: 4.668 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.429e-05/0.00202, allocations: 11.86 kB / 0.879 GB, free: 4.656 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.927e-05/0.002099, allocations: 7.875 kB / 0.8791 GB, free: 4.648 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 4.318e-05/0.002142, allocations: 21.11 kB / 0.8791 GB, free: 4.629 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.966e-05/0.002242, allocations: 67.77 kB / 0.8791 GB, free: 4.562 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.002389, allocations: 35.91 kB / 0.8792 GB, free: 4.527 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.152e-05/0.002481, allocations: 37.5 kB / 0.8792 GB, free: 4.492 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.22e-05/0.002523, allocations: 15.92 kB / 0.8792 GB, free: 4.477 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.002545, allocations: 8 kB / 0.8792 GB, free: 4.469 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.884e-06/0.002552, allocations: 4 kB / 0.8792 GB, free: 4.465 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.182e-05/0.002574, allocations: 25.41 kB / 0.8793 GB, free: 4.441 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.002601, allocations: 15.94 kB / 0.8793 GB, free: 4.426 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.567e-05/0.002696, allocations: 47.75 kB / 0.8793 GB, free: 4.379 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.002699, allocations: 0 / 0.8793 GB, free: 4.379 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.202e-06/0.0027, allocations: 3.062 kB / 0.8793 GB, free: 4.379 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.002706, allocations: 0 / 0.8793 GB, free: 4.379 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003813/0.003087, allocations: 404.3 kB / 0.8797 GB, free: 3.945 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.003127, allocations: 15.97 kB / 0.8797 GB, free: 3.93 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.00317, allocations: 16.89 kB / 0.8797 GB, free: 3.914 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.004422, allocations: 128.5 kB / 0.8799 GB, free: 3.762 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.004439, allocations: 8.375 kB / 0.8799 GB, free: 3.754 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.004454, allocations: 5.031 kB / 0.8799 GB, free: 3.75 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.004628, allocations: 95.41 kB / 0.88 GB, free: 3.645 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.004638, allocations: 1.844 kB / 0.88 GB, free: 3.645 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.004652, allocations: 4.375 kB / 0.88 GB, free: 3.641 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.004664, allocations: 4.375 kB / 0.88 GB, free: 3.637 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.852e-05/0.004732, allocations: 27.92 kB / 0.88 GB, free: 3.609 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005645/0.005297, allocations: 459.7 kB / 0.8804 GB, free: 3.121 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.564e-05/0.005372, allocations: 54.12 kB / 0.8805 GB, free: 3.043 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.494e-05/0.005417, allocations: 23.5 kB / 0.8805 GB, free: 3.012 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.005428, allocations: 4.031 kB / 0.8805 GB, free: 3.008 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.005462, allocations: 41.39 kB / 0.8806 GB, free: 2.957 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.833e-06/0.005464, allocations: 0 / 0.8806 GB, free: 2.957 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0001996/0.005664, allocations: 45.58 kB / 0.8806 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.005714, allocations: 81.11 kB / 0.8807 GB, free: 2.809 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.005866, allocations: 189.8 kB / 0.8809 GB, free: 2.605 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.005879, allocations: 25.7 kB / 0.8809 GB, free: 2.574 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 9.154e-05/0.00597, allocations: 158.7 kB / 0.881 GB, free: 2.414 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 9.137e-06/0.005979, allocations: 8.203 kB / 0.881 GB, free: 2.406 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-05/0.00603, allocations: 23.38 kB / 0.8811 GB, free: 2.375 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.006207, allocations: 0.4884 MB / 0.8815 GB, free: 1.875 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.134e-05/0.006228, allocations: 4 kB / 0.8815 GB, free: 1.871 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.73e-05/0.006255, allocations: 19.38 kB / 0.8816 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.122e-05/0.006307, allocations: 35.3 kB / 0.8816 GB, free: 1.801 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.00631, allocations: 3.938 kB / 0.8816 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.762e-05/0.006407, allocations: 49.66 kB / 0.8817 GB, free: 1.742 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.006425, allocations: 12 kB / 0.8817 GB, free: 1.73 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.006431, allocations: 96 / 0.8817 GB, free: 1.73 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.006448, allocations: 3.984 kB / 0.8817 GB, free: 1.727 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.235e-05/0.006531, allocations: 11.98 kB / 0.8817 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.00654, allocations: 7.922 kB / 0.8817 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.435e-05/0.006565, allocations: 3.938 kB / 0.8817 GB, free: 1.703 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.006571, allocations: 4 kB / 0.8817 GB, free: 1.699 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.013e-05/0.006651, allocations: 152.6 kB / 0.8818 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.006696, allocations: 11.95 kB / 0.8819 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/0.006725, allocations: 7.469 kB / 0.8819 GB, free: 1.52 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.006728, allocations: 4 kB / 0.8819 GB, free: 1.516 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.006731, allocations: 0 / 0.8819 GB, free: 1.516 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.006736, allocations: 3.938 kB / 0.8819 GB, free: 1.512 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003964/0.007132, allocations: 0.5422 MB / 0.8824 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.007135, allocations: 4 kB / 0.8824 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.962e-05/0.007155, allocations: 4 kB / 0.8824 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.007159, allocations: 4 kB / 0.8824 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.007167, allocations: 3.938 kB / 0.8824 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.00717, allocations: 3.984 kB / 0.8824 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.007171, allocations: 0 / 0.8824 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.202e-05/0.007253, allocations: 88.09 kB / 0.8825 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 2.686e-05/0.00728, allocations: 15.94 kB / 0.8825 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.007295, allocations: 3.938 kB / 0.8825 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.453e-05/0.00731, allocations: 0 / 0.8825 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.007327, allocations: 4 kB / 0.8825 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.00733, allocations: 0 / 0.8825 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 6.547e-05/0.007395, allocations: 141.3 kB / 0.8827 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1e-07/0.007395, allocations: 0 / 0.8827 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002117/0.007607, allocations: 8 kB / 0.8827 GB, free: 0.6172 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001358/0.007743, allocations: 95.28 kB / 0.8828 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 9.301e-05/0.007836, allocations: 27.61 kB / 0.8828 GB, free: 496 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.007838, allocations: 0 / 0.8828 GB, free: 496 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.231e-05/0.00785, allocations: 11.69 kB / 0.8828 GB, free: 480 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.008009, allocations: 8 kB / 0.8828 GB, free: 472 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000355/0.008364, allocations: 186.3 kB / 0.883 GB, free: 244 kB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.164e-05/0.008406, allocations: 59.34 kB / 0.883 GB, free: 164 kB / 0.7917 GB Notification: Performance of simCode: alias equations: time 3.256e-05/0.008438, allocations: 8.25 kB / 0.883 GB, free: 156 kB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.008464, allocations: 8.5 kB / 0.883 GB, free: 148 kB / 0.7917 GB Notification: Performance of SimCode: time 1.052e-06/0.008465, allocations: 0 / 0.883 GB, free: 148 kB / 0.7917 GB Notification: Performance of Templates: time 0.002783/0.01125, allocations: 348.7 kB / 0.8834 GB, free: 15.81 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.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.416042310884222]