Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00637/0.006369, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 201.8 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.991/2.991, allocations: 437 MB / 0.7105 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 59.91 kB / 1.019 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3713, allocations: 151.6 MB / 1.167 GB, free: 6.949 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002366/0.3737, allocations: 0.8877 MB / 1.167 GB, free: 6.055 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001388/0.3739, allocations: 51.78 kB / 1.168 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.455e-05/0.3739, allocations: 0 / 1.168 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.74e-05/0.374, allocations: 15.81 kB / 1.168 GB, free: 5.988 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.997e-05/0.3741, allocations: 11.86 kB / 1.168 GB, free: 5.977 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 7.068e-05/0.3742, allocations: 19.98 kB / 1.168 GB, free: 5.957 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.3744, allocations: 87.75 kB / 1.168 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.3746, allocations: 45.11 kB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.148e-05/0.3746, allocations: 27.86 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.943e-05/0.3747, allocations: 39.78 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.3747, allocations: 8 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.323e-05/0.3748, allocations: 11.94 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.095e-05/0.3748, allocations: 19.92 kB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.135e-05/0.3749, allocations: 39.75 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.375, allocations: 111.4 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.375, allocations: 0 / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.354e-06/0.375, allocations: 0 / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.3751, allocations: 0 / 1.168 GB, free: 5.57 MB / 0.92 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.00055/0.3756, allocations: 403.2 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3757, allocations: 8.031 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.3757, allocations: 12.84 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.376, allocations: 208.3 kB / 1.169 GB, free: 4.863 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.376, allocations: 8.562 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.376, allocations: 12.38 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.3762, allocations: 105.8 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3762, allocations: 0 / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.3762, allocations: 4 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.3762, allocations: 8 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.014e-05/0.3763, allocations: 43.92 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.3769, allocations: 472.5 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.119e-05/0.377, allocations: 41.16 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.505e-05/0.377, allocations: 17.78 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.377, allocations: 3.938 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.3771, allocations: 38.56 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.3771, allocations: 0 / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001901/0.3773, allocations: 57.53 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.306e-05/0.3774, allocations: 81.11 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.3775, allocations: 178.7 kB / 1.17 GB, free: 3.68 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.3776, allocations: 25.7 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/0.3777, allocations: 116 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.875e-06/0.3777, allocations: 8.203 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.3777, allocations: 17.72 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.3778, allocations: 326.8 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.986e-05/0.3779, allocations: 4 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.277e-05/0.3779, allocations: 21.66 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.713e-05/0.3779, allocations: 29.7 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.378, allocations: 4 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.647e-05/0.378, allocations: 57.55 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3781, allocations: 9.875 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3781, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3781, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.057e-05/0.3781, allocations: 11.98 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3782, allocations: 0 / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.984e-05/0.3782, allocations: 7.875 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.3782, allocations: 4 kB / 1.17 GB, free: 3.008 MB / 0.92 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.186e-05/0.3783, allocations: 123 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.3783, allocations: 15.98 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.3784, allocations: 12.55 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3784, allocations: 0 / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.3784, allocations: 0 / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3784, allocations: 7.938 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003615/0.3788, allocations: 474.8 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3788, allocations: 112 / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-05/0.3788, allocations: 15.86 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3788, allocations: 0 / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.3788, allocations: 3.938 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3788, allocations: 4 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3788, allocations: 0 / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.253e-05/0.3789, allocations: 77.97 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.858e-05/0.379, allocations: 93.05 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.379, allocations: 7.938 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.955e-05/0.379, allocations: 0 / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.3791, allocations: 7.984 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.3791, allocations: 0 / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001005/0.3792, allocations: 139.2 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3792, allocations: 0 / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001819/0.3794, allocations: 8 kB / 1.171 GB, free: 1.926 MB / 0.92 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.0001374/0.3795, allocations: 111.2 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.506e-05/0.3796, allocations: 15.98 kB / 1.171 GB, free: 1.789 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3796, allocations: 0 / 1.171 GB, free: 1.789 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.141e-05/0.3796, allocations: 7.938 kB / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.3798, allocations: 8 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.3802, allocations: 192.2 kB / 1.171 GB, free: 1.559 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.3805, allocations: 0.7002 MB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.788e-05/0.3806, allocations: 4.562 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.3806, allocations: 11.44 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.3806, allocations: 0 / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of Templates: time 0.003122/0.3838, allocations: 0.52 MB / 1.173 GB, free: 304 kB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches