Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.001044/0.001044, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001011/0.001011, allocations: 173 kB / 23.49 MB, free: 1.055 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.9746/0.9746, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.07/2.07, 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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.877e-06/3.877e-06, allocations: 0 / 0.8782 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.039e-05/4.426e-05, allocations: 4.25 kB / 0.8782 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.003034/0.003078, allocations: 0.8217 MB / 0.879 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002068/0.003285, allocations: 40.91 kB / 0.879 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.065e-05/0.003376, allocations: 6.953 kB / 0.879 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.581e-05/0.003431, allocations: 3.938 kB / 0.8791 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.00357, allocations: 11.81 kB / 0.8791 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.753e-05/0.003647, allocations: 23.97 kB / 0.8791 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000167/0.003814, allocations: 63.83 kB / 0.8791 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.004017, allocations: 27.98 kB / 0.8792 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.004251, allocations: 46.11 kB / 0.8792 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.202e-05/0.004323, allocations: 15.92 kB / 0.8792 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.004355, allocations: 4 kB / 0.8792 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.427e-05/0.00437, allocations: 8 kB / 0.8792 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.0044, allocations: 11.92 kB / 0.8793 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.471e-05/0.004455, allocations: 27.91 kB / 0.8793 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.004636, allocations: 40.55 kB / 0.8793 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.004639, allocations: 0 / 0.8793 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.252e-06/0.00464, allocations: 5.594 kB / 0.8793 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.004647, allocations: 0 / 0.8793 GB, free: 5.48 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.0005839/0.005231, allocations: 408.3 kB / 0.8797 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.675e-05/0.005298, allocations: 8.031 kB / 0.8797 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.719e-05/0.005365, allocations: 13.39 kB / 0.8797 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.005619, allocations: 137.8 kB / 0.8799 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.005637, allocations: 8.375 kB / 0.8799 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.005657, allocations: 8.375 kB / 0.8799 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.005828, allocations: 87.14 kB / 0.88 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.00584, allocations: 4.188 kB / 0.88 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.005856, allocations: 384 / 0.88 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.005868, allocations: 384 / 0.88 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.915e-05/0.005947, allocations: 31.86 kB / 0.88 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006443/0.006591, allocations: 470.3 kB / 0.8804 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.834e-05/0.00667, allocations: 54.23 kB / 0.8805 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.767e-05/0.006718, allocations: 31.41 kB / 0.8805 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.487e-06/0.006727, allocations: 0 / 0.8805 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.006761, allocations: 37.38 kB / 0.8806 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.006762, allocations: 0 / 0.8806 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002203/0.006982, allocations: 45.86 kB / 0.8806 GB, free: 4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.007037, allocations: 81.14 kB / 0.8807 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.007197, allocations: 189.8 kB / 0.8809 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.007211, allocations: 25.7 kB / 0.8809 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.546e-05/0.007307, allocations: 154.7 kB / 0.881 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.22e-05/0.007319, allocations: 11.89 kB / 0.8811 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.007357, allocations: 19.38 kB / 0.8811 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.007534, allocations: 0.4923 MB / 0.8816 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.007554, allocations: 0 / 0.8816 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.328e-05/0.007587, allocations: 27.36 kB / 0.8816 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.267e-05/0.00764, allocations: 31.31 kB / 0.8816 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.007642, allocations: 0 / 0.8816 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.573e-05/0.007738, allocations: 53.59 kB / 0.8817 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.007756, allocations: 4 kB / 0.8817 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.007762, allocations: 4 kB / 0.8817 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.007782, allocations: 0 / 0.8817 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.806e-05/0.00786, allocations: 7.984 kB / 0.8817 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.00787, allocations: 3.938 kB / 0.8817 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.257e-05/0.007893, allocations: 4 kB / 0.8817 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.007898, allocations: 0 / 0.8817 GB, free: 2.812 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 0.0001012/0.007999, allocations: 164.6 kB / 0.8818 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.00804, allocations: 3.953 kB / 0.8818 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.008069, allocations: 7.469 kB / 0.8818 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.008072, allocations: 0 / 0.8818 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.008078, allocations: 3.984 kB / 0.8819 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.008085, allocations: 7.938 kB / 0.8819 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.008509, allocations: 0.5383 MB / 0.8824 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.008511, allocations: 0 / 0.8824 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.744e-05/0.008539, allocations: 7.984 kB / 0.8824 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.008543, allocations: 8 kB / 0.8824 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.008554, allocations: 7.938 kB / 0.8824 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.008556, allocations: 0 / 0.8824 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.008561, allocations: 11.92 kB / 0.8824 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.008666, allocations: 84.09 kB / 0.8825 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.008691, allocations: 7.938 kB / 0.8825 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.008709, allocations: 7.938 kB / 0.8825 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.828e-05/0.008727, allocations: 0 / 0.8825 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.909e-05/0.008746, allocations: 0 / 0.8825 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.008749, allocations: 0 / 0.8825 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.043e-05/0.008829, allocations: 150.3 kB / 0.8827 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/0.008829, allocations: 0 / 0.8827 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002179/0.009047, allocations: 11.94 kB / 0.8827 GB, free: 1.711 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 0.0001244/0.009171, allocations: 103.2 kB / 0.8828 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.009279, allocations: 19.62 kB / 0.8828 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.009281, allocations: 0 / 0.8828 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.408e-05/0.009295, allocations: 11.69 kB / 0.8828 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.009471, allocations: 7.938 kB / 0.8828 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.00986, allocations: 174.9 kB / 0.883 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.958e-05/0.00991, allocations: 60.03 kB / 0.883 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.075e-05/0.00995, allocations: 4 kB / 0.883 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.009987, allocations: 12.5 kB / 0.883 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of SimCode: time 1.222e-06/0.009988, allocations: 0 / 0.883 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of Templates: time 0.003058/0.01305, allocations: 347.5 kB / 0.8834 GB, free: 0.9102 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.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.3558531808666885]