Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 108.8 kB / 16.27 MB, free: 6.41 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.001661/0.001661, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.505/1.505, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.617/2.617, allocations: 437 MB / 0.711 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 68.2 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2981, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.003327/0.3015, allocations: 0.8919 MB / 1.019 GB, free: 9.758 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001983/0.3017, allocations: 47.78 kB / 1.019 GB, free: 9.711 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.225e-05/0.3018, allocations: 4 kB / 1.019 GB, free: 9.707 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.168e-05/0.3019, allocations: 11.81 kB / 1.019 GB, free: 9.695 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.971e-05/0.302, allocations: 11.86 kB / 1.019 GB, free: 9.684 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.262e-05/0.302, allocations: 23.98 kB / 1.019 GB, free: 9.66 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.3022, allocations: 87.67 kB / 1.019 GB, free: 9.574 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.3024, allocations: 57.08 kB / 1.019 GB, free: 9.516 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.419e-05/0.3024, allocations: 31.8 kB / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.426e-05/0.3025, allocations: 35.8 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.3025, allocations: 12 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.549e-05/0.3025, allocations: 8 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.615e-05/0.3026, allocations: 15.92 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.921e-05/0.3026, allocations: 43.73 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.3028, allocations: 99.83 kB / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3028, allocations: 0 / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.236e-06/0.3028, allocations: 0 / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.3028, allocations: 3.938 kB / 1.019 GB, free: 9.27 MB / 0.795 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.000513/0.3033, allocations: 395.3 kB / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3034, allocations: 16.91 kB / 1.02 GB, free: 8.816 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.3034, allocations: 12.84 kB / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.3037, allocations: 204.3 kB / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.3037, allocations: 4.562 kB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.3037, allocations: 12.38 kB / 1.02 GB, free: 8.551 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.3039, allocations: 108.9 kB / 1.02 GB, free: 8.434 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.304, allocations: 3.984 kB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.304, allocations: 4 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.304, allocations: 4 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.179e-05/0.3041, allocations: 43.98 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006232/0.3047, allocations: 468.3 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.112e-05/0.3048, allocations: 37.16 kB / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.997e-05/0.3048, allocations: 25.83 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.3049, allocations: 0 / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.3049, allocations: 34.5 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3049, allocations: 0 / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.00018/0.3051, allocations: 57.7 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.3051, allocations: 85.11 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.3053, allocations: 179.8 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.3054, allocations: 25.7 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.48e-05/0.3054, allocations: 104 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.095e-05/0.3055, allocations: 11.91 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.3055, allocations: 13.72 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3056, allocations: 322.8 kB / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.972e-05/0.3056, allocations: 11.98 kB / 1.021 GB, free: 6.887 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.191e-05/0.3057, allocations: 21.72 kB / 1.021 GB, free: 6.859 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.235e-05/0.3057, allocations: 25.66 kB / 1.021 GB, free: 6.828 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3057, allocations: 4 kB / 1.021 GB, free: 6.824 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.386e-05/0.3058, allocations: 53.59 kB / 1.021 GB, free: 6.766 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3058, allocations: 4 kB / 1.021 GB, free: 6.762 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3058, allocations: 4.062 kB / 1.021 GB, free: 6.758 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3059, allocations: 8 kB / 1.021 GB, free: 6.75 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.988e-05/0.3059, allocations: 11.94 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.306, allocations: 0 / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.566e-05/0.306, allocations: 15.78 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.306, allocations: 0 / 1.022 GB, free: 6.723 MB / 0.795 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 7.912e-05/0.3061, allocations: 113.8 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.3061, allocations: 15.81 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.3062, allocations: 16.55 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3062, allocations: 4 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3062, allocations: 0 / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3062, allocations: 3.938 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.3066, allocations: 478.8 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3066, allocations: 0 / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.3067, allocations: 4 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3067, allocations: 0 / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.3067, allocations: 4.047 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3067, allocations: 11.94 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3067, allocations: 0 / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.692e-05/0.3068, allocations: 81.83 kB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.3069, allocations: 101 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.3069, allocations: 3.938 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.059e-05/0.3069, allocations: 0 / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.3069, allocations: 8.031 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.3069, allocations: 0 / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001069/0.307, allocations: 140.8 kB / 1.022 GB, free: 5.648 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.3071, allocations: 0 / 1.022 GB, free: 5.648 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002012/0.3073, allocations: 15.92 kB / 1.022 GB, free: 5.633 MB / 0.795 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.0001121/0.3074, allocations: 95.25 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.049e-05/0.3075, allocations: 19.94 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3075, allocations: 4.125 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.02e-05/0.3075, allocations: 4 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.3077, allocations: 8 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.308, allocations: 200.7 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.3084, allocations: 0.6963 MB / 1.023 GB, free: 4.539 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.3084, allocations: 15.38 kB / 1.023 GB, free: 4.527 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3084, allocations: 4 kB / 1.023 GB, free: 4.523 MB / 0.795 GB Notification: Performance of Templates: time 0.002478/0.3109, allocations: 0.9745 MB / 1.024 GB, free: 3.551 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches