Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001927/0.001927, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.00212/0.00212, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.577/1.577, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.197/3.197, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.107e-05/3.304e-05, allocations: 3.312 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002251/0.002284, allocations: 0.8585 MB / 0.8117 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001734/0.002458, allocations: 52.39 kB / 0.8117 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.29e-05/0.00252, allocations: 4 kB / 0.8117 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.172e-05/0.002562, allocations: 8.781 kB / 0.8117 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.583e-05/0.002658, allocations: 15.81 kB / 0.8117 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 7.959e-05/0.002738, allocations: 24.62 kB / 0.8118 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.002892, allocations: 87.75 kB / 0.8118 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.003029, allocations: 34.48 kB / 0.8119 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.003145, allocations: 51.88 kB / 0.8119 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.185e-05/0.003207, allocations: 23.86 kB / 0.812 GB, free: 0.9375 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.003236, allocations: 8.969 kB / 0.812 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.464e-05/0.00325, allocations: 8 kB / 0.812 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.291e-05/0.003283, allocations: 23.91 kB / 0.812 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.653e-05/0.00333, allocations: 24.67 kB / 0.812 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.003489, allocations: 95.59 kB / 0.8121 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.003491, allocations: 0.75 kB / 0.8121 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.62e-07/0.003492, allocations: 0 / 0.8121 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.003497, allocations: 1.25 kB / 0.8121 GB, free: 0.7812 MB / 0.7605 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.000616/0.004113, allocations: 432 kB / 0.8125 GB, free: 328 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.004155, allocations: 10.09 kB / 0.8125 GB, free: 320 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/0.004216, allocations: 24.84 kB / 0.8126 GB, free: 296 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.004454, allocations: 146.8 kB / 0.8127 GB, free: 124 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.004472, allocations: 8.562 kB / 0.8127 GB, free: 116 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.004491, allocations: 12.38 kB / 0.8127 GB, free: 104 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.00471, allocations: 111.6 kB / 0.8128 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.004721, allocations: 0.9062 kB / 0.8128 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.004732, allocations: 0 / 0.8128 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.00474, allocations: 4.625 kB / 0.8128 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.004844, allocations: 47.91 kB / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007049/0.005549, allocations: 498.9 kB / 0.8133 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.003e-05/0.005639, allocations: 55.62 kB / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.078e-05/0.00569, allocations: 27.5 kB / 0.8134 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.005703, allocations: 0 / 0.8134 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.005734, allocations: 34.92 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.005735, allocations: 4 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002095/0.005945, allocations: 58.08 kB / 0.8135 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.006011, allocations: 77.11 kB / 0.8136 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.006215, allocations: 204.6 kB / 0.8138 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.006233, allocations: 25.7 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.006369, allocations: 166.8 kB / 0.814 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.006385, allocations: 11.92 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.006433, allocations: 28.36 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003091/0.006742, allocations: 0.4884 MB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/0.006764, allocations: 7.984 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.647e-05/0.006801, allocations: 28.88 kB / 0.8145 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.699e-05/0.006858, allocations: 35.31 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.006859, allocations: 0 / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001039/0.006963, allocations: 58.81 kB / 0.8146 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.006977, allocations: 4 kB / 0.8146 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.006985, allocations: 4.531 kB / 0.8146 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.007, allocations: 0.75 kB / 0.8146 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.287e-05/0.007063, allocations: 4 kB / 0.8146 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.007069, allocations: 0.9375 kB / 0.8146 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.772e-05/0.007096, allocations: 7.953 kB / 0.8146 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.007101, allocations: 0 / 0.8146 GB, free: 13.95 MB / 0.7761 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.0001363/0.007237, allocations: 166.4 kB / 0.8148 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.007279, allocations: 11.98 kB / 0.8148 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.007304, allocations: 7.812 kB / 0.8148 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.007309, allocations: 4.078 kB / 0.8148 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.007313, allocations: 1.5 kB / 0.8148 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.007315, allocations: 0 / 0.8148 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005549/0.00787, allocations: 0.5732 MB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.007871, allocations: 0.875 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-05/0.007894, allocations: 11.94 kB / 0.8154 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.007896, allocations: 0.875 kB / 0.8154 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.007905, allocations: 7.984 kB / 0.8154 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.007906, allocations: 1.344 kB / 0.8154 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.007907, allocations: 0 / 0.8154 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.008025, allocations: 92.03 kB / 0.8155 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/0.008049, allocations: 12.56 kB / 0.8155 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.008065, allocations: 4 kB / 0.8155 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.679e-05/0.008082, allocations: 0.5625 kB / 0.8155 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.0081, allocations: 1.875 kB / 0.8155 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.008104, allocations: 4 kB / 0.8155 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001109/0.008215, allocations: 152.7 kB / 0.8157 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.008215, allocations: 3.938 kB / 0.8157 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001812/0.008397, allocations: 15.94 kB / 0.8157 GB, free: 12.81 MB / 0.7761 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.0001395/0.008536, allocations: 100.1 kB / 0.8158 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.008637, allocations: 27.16 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.008639, allocations: 0 / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.455e-05/0.008663, allocations: 15.62 kB / 0.8158 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.008817, allocations: 4 kB / 0.8158 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.009216, allocations: 194.3 kB / 0.816 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.326e-05/0.009309, allocations: 89.77 kB / 0.8161 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.251e-05/0.009341, allocations: 9.109 kB / 0.8161 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.009365, allocations: 8.5 kB / 0.8161 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.009366, allocations: 4.906 kB / 0.8161 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of Templates: time 0.003294/0.01266, allocations: 349 kB / 0.8164 GB, free: 11.98 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.311473715002649]