Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.001096/0.001096, 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.001074/0.001074, allocations: 173 kB / 23.49 MB, free: 1.059 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.019/1.019, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.097/2.097, allocations: 429.5 MB / 0.6736 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.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 0 / 0.8782 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.333e-05/3.617e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001834/0.00187, allocations: 0.819 MB / 0.879 GB, free: 5.871 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001176/0.001988, allocations: 45.12 kB / 0.879 GB, free: 5.828 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.759e-05/0.002036, allocations: 0 / 0.879 GB, free: 5.828 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.365e-05/0.002069, allocations: 11.81 kB / 0.8791 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.644e-05/0.002136, allocations: 7.922 kB / 0.8791 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.302e-05/0.002189, allocations: 24.66 kB / 0.8791 GB, free: 5.785 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.352e-05/0.002282, allocations: 60.5 kB / 0.8791 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.002409, allocations: 23.98 kB / 0.8792 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.496e-05/0.002484, allocations: 44.33 kB / 0.8792 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.449e-05/0.002529, allocations: 21.5 kB / 0.8792 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.00255, allocations: 4 kB / 0.8792 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.366e-06/0.002558, allocations: 8 kB / 0.8792 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.002578, allocations: 15.92 kB / 0.8793 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.002606, allocations: 19.92 kB / 0.8793 GB, free: 5.594 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.77e-05/0.002703, allocations: 45.7 kB / 0.8793 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.002707, allocations: 0 / 0.8793 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.132e-06/0.002708, allocations: 4 kB / 0.8793 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.002713, allocations: 0 / 0.8793 GB, free: 5.547 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000369/0.003082, allocations: 406.9 kB / 0.8797 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.003119, allocations: 12.03 kB / 0.8797 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.003163, allocations: 16.89 kB / 0.8797 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.003348, allocations: 140.4 kB / 0.8799 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.00336, allocations: 4.375 kB / 0.8799 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.003374, allocations: 8.375 kB / 0.8799 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.003501, allocations: 81.61 kB / 0.88 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.003507, allocations: 0.9062 kB / 0.88 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.00352, allocations: 8.375 kB / 0.88 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.003528, allocations: 2.031 kB / 0.88 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.585e-05/0.003574, allocations: 39.73 kB / 0.88 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.003989, allocations: 458.4 kB / 0.8804 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.262e-05/0.004042, allocations: 59.5 kB / 0.8805 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.223e-05/0.004074, allocations: 23.48 kB / 0.8805 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.557e-06/0.004083, allocations: 8 kB / 0.8805 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.004104, allocations: 37.39 kB / 0.8806 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.004106, allocations: 0 / 0.8806 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001389/0.004245, allocations: 41.64 kB / 0.8806 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.004281, allocations: 77.11 kB / 0.8807 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.004391, allocations: 197.1 kB / 0.8809 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.0044, allocations: 25.7 kB / 0.8809 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.004463, allocations: 154.7 kB / 0.881 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.765e-06/0.004471, allocations: 11.88 kB / 0.8811 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.0045, allocations: 23.38 kB / 0.8811 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.004612, allocations: 0.4926 MB / 0.8816 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.004626, allocations: 3.938 kB / 0.8816 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.02e-05/0.004647, allocations: 23.36 kB / 0.8816 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.757e-05/0.004684, allocations: 31.38 kB / 0.8816 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.004686, allocations: 0 / 0.8816 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.125e-05/0.004747, allocations: 57.58 kB / 0.8817 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.00476, allocations: 4 kB / 0.8817 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.004765, allocations: 0 / 0.8817 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.004779, allocations: 8.062 kB / 0.8817 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.17e-05/0.00484, allocations: 4 kB / 0.8817 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.004847, allocations: 3.938 kB / 0.8817 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.631e-05/0.004864, allocations: 4 kB / 0.8817 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-06/0.004867, allocations: 0 / 0.8817 GB, free: 2.871 MB / 0.8386 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 6.349e-05/0.004931, allocations: 152.6 kB / 0.8818 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.004955, allocations: 7.953 kB / 0.8818 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.00498, allocations: 19.39 kB / 0.8819 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.004982, allocations: 0 / 0.8819 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.004986, allocations: 0 / 0.8819 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.004991, allocations: 8.016 kB / 0.8819 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.005277, allocations: 0.55 MB / 0.8824 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.005279, allocations: 0 / 0.8824 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.553e-05/0.005294, allocations: 4 kB / 0.8824 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.005296, allocations: 3.938 kB / 0.8824 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.005303, allocations: 3.938 kB / 0.8824 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.005305, allocations: 0 / 0.8824 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.005306, allocations: 0 / 0.8824 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.586e-05/0.005372, allocations: 84.08 kB / 0.8825 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.91e-05/0.005391, allocations: 11.95 kB / 0.8825 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.005402, allocations: 8.031 kB / 0.8825 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.048e-05/0.005413, allocations: 4 kB / 0.8825 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/0.005428, allocations: 3.938 kB / 0.8825 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.00543, allocations: 0 / 0.8825 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.587e-05/0.005476, allocations: 143.2 kB / 0.8827 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005476, allocations: 0 / 0.8827 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001299/0.005606, allocations: 15.92 kB / 0.8827 GB, free: 1.77 MB / 0.8386 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 8.348e-05/0.005689, allocations: 91.25 kB / 0.8828 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.971e-05/0.005769, allocations: 27.75 kB / 0.8828 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.00577, allocations: 0 / 0.8828 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.869e-06/0.00578, allocations: 15.62 kB / 0.8828 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001166/0.005897, allocations: 7.984 kB / 0.8828 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.006177, allocations: 166.7 kB / 0.883 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.469e-05/0.006212, allocations: 59.34 kB / 0.883 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.74e-05/0.00624, allocations: 4 kB / 0.883 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.006271, allocations: 8.688 kB / 0.883 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of SimCode: time 1.042e-06/0.006272, allocations: 8 kB / 0.883 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of Templates: time 0.001994/0.008266, allocations: 344.9 kB / 0.8834 GB, free: 0.9766 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.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.477308926871046]