Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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.001382/0.001382, 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.001557/0.001557, allocations: 165 kB / 23.02 MB, free: 1.555 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.9506/0.9506, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.131/2.131, allocations: 429.5 MB / 0.6733 GB, free: 4.039 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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.325e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001324/0.001337, allocations: 0.8802 MB / 0.879 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00011/0.001447, allocations: 56.59 kB / 0.8791 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.001489, allocations: 1.094 kB / 0.8791 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.222e-05/0.001522, allocations: 11.86 kB / 0.8791 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.793e-05/0.00158, allocations: 11.88 kB / 0.8791 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.963e-05/0.001629, allocations: 28.5 kB / 0.8792 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.076e-05/0.00171, allocations: 80.42 kB / 0.8792 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.001813, allocations: 37.22 kB / 0.8793 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.001874, allocations: 48.98 kB / 0.8793 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.685e-05/0.001911, allocations: 19.91 kB / 0.8793 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.001928, allocations: 8 kB / 0.8793 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-06/0.001936, allocations: 9.094 kB / 0.8793 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.001956, allocations: 23.86 kB / 0.8794 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.001982, allocations: 23.92 kB / 0.8794 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.431e-05/0.002066, allocations: 60.77 kB / 0.8794 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.002067, allocations: 3.938 kB / 0.8795 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002068, allocations: 3.938 kB / 0.8795 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.002071, allocations: 1.094 kB / 0.8795 GB, free: 5.027 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003252/0.002396, allocations: 424.4 kB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.002427, allocations: 13.09 kB / 0.8799 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.002461, allocations: 20.84 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.002597, allocations: 140.7 kB / 0.88 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.002607, allocations: 9.656 kB / 0.88 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.00262, allocations: 8.375 kB / 0.88 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.002729, allocations: 103.7 kB / 0.8801 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.002737, allocations: 0.7188 kB / 0.8801 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.002746, allocations: 5.219 kB / 0.8802 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.002754, allocations: 4 kB / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.527e-05/0.0028, allocations: 27.92 kB / 0.8802 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.003164, allocations: 487.7 kB / 0.8806 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.081e-05/0.003205, allocations: 50.12 kB / 0.8807 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.437e-05/0.003229, allocations: 19.72 kB / 0.8807 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-06/0.003236, allocations: 9.469 kB / 0.8807 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.003256, allocations: 41.31 kB / 0.8808 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.003257, allocations: 0 / 0.8808 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001151/0.003372, allocations: 50.69 kB / 0.8808 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.003402, allocations: 77.11 kB / 0.8809 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.121e-05/0.003493, allocations: 195.4 kB / 0.8811 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.003503, allocations: 25.7 kB / 0.8811 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.003568, allocations: 170.8 kB / 0.8813 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.51e-06/0.003574, allocations: 3.953 kB / 0.8813 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.003598, allocations: 26.69 kB / 0.8813 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.003698, allocations: 496.1 kB / 0.8818 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.003708, allocations: 4 kB / 0.8818 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.944e-05/0.003728, allocations: 27.36 kB / 0.8818 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.991e-05/0.003758, allocations: 31.25 kB / 0.8818 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.003759, allocations: 0 / 0.8818 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.485e-05/0.003814, allocations: 57.92 kB / 0.8819 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.003826, allocations: 11.97 kB / 0.8819 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.00383, allocations: 0 / 0.8819 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.003842, allocations: 0 / 0.8819 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.314e-05/0.003885, allocations: 8 kB / 0.8819 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.003889, allocations: 0 / 0.8819 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.38e-05/0.003903, allocations: 4 kB / 0.8819 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.003908, allocations: 7.984 kB / 0.8819 GB, free: 2.273 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 5.505e-05/0.003963, allocations: 156.5 kB / 0.8821 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.003986, allocations: 7.953 kB / 0.8821 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.004009, allocations: 11.81 kB / 0.8821 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.00401, allocations: 4 kB / 0.8821 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.004016, allocations: 0 / 0.8821 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.004018, allocations: 0 / 0.8821 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.004268, allocations: 0.5576 MB / 0.8826 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.004269, allocations: 0 / 0.8826 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-06/0.004278, allocations: 4 kB / 0.8826 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.00428, allocations: 0 / 0.8826 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-06/0.004286, allocations: 4 kB / 0.8826 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.004287, allocations: 0 / 0.8826 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.004287, allocations: 0 / 0.8826 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.341e-05/0.004341, allocations: 100 kB / 0.8827 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.004357, allocations: 11.89 kB / 0.8827 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-06/0.004364, allocations: 0 / 0.8827 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-06/0.004372, allocations: 0 / 0.8827 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.051e-05/0.004382, allocations: 4 kB / 0.8827 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-06/0.004383, allocations: 0 / 0.8827 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.964e-05/0.004433, allocations: 157.4 kB / 0.8829 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.004433, allocations: 0 / 0.8829 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001155/0.004549, allocations: 11.95 kB / 0.8829 GB, free: 1.16 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 5.521e-05/0.004604, allocations: 95.28 kB / 0.883 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.992e-05/0.004664, allocations: 23.61 kB / 0.883 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.004665, allocations: 4 kB / 0.883 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.037e-06/0.004674, allocations: 11.69 kB / 0.883 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.762e-05/0.004772, allocations: 4 kB / 0.883 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.00501, allocations: 194.4 kB / 0.8832 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.143e-05/0.005042, allocations: 63.2 kB / 0.8833 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.012e-05/0.005062, allocations: 8.25 kB / 0.8833 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.047e-05/0.005082, allocations: 12.5 kB / 0.8833 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of SimCode: time 4.91e-07/0.005083, allocations: 0 / 0.8833 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of Templates: time 0.001669/0.006751, allocations: 353.8 kB / 0.8836 GB, free: 348 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.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.406325769145042]