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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001327/0.001327, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001386/0.001386, allocations: 192 kB / 17.31 MB, free: 5.18 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.517/2.517, allocations: 442.6 MB / 0.7165 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001313, allocations: 65.22 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3384, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002392/0.3409, allocations: 0.9031 MB / 1.028 GB, free: 1.133 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001426/0.3411, allocations: 51.78 kB / 1.028 GB, free: 1.082 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.561e-05/0.3411, allocations: 3.938 kB / 1.028 GB, free: 1.078 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.484e-05/0.3412, allocations: 7.875 kB / 1.028 GB, free: 1.07 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.567e-05/0.3413, allocations: 11.88 kB / 1.028 GB, free: 1.059 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 6.412e-05/0.3414, allocations: 27.97 kB / 1.028 GB, free: 1.031 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.3415, allocations: 79.77 kB / 1.028 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.3417, allocations: 49.09 kB / 1.028 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.203e-05/0.3417, allocations: 31.86 kB / 1.028 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.206e-05/0.3418, allocations: 35.78 kB / 1.028 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.3418, allocations: 12 kB / 1.028 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.3418, allocations: 8 kB / 1.028 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.788e-05/0.3419, allocations: 27.78 kB / 1.028 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.3419, allocations: 39.75 kB / 1.028 GB, free: 0.75 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.3421, allocations: 103.5 kB / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3421, allocations: 0 / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.215e-06/0.3421, allocations: 0 / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.3421, allocations: 3.938 kB / 1.028 GB, free: 0.6445 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.0004556/0.3426, allocations: 396.5 kB / 1.028 GB, free: 212 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3426, allocations: 12.03 kB / 1.028 GB, free: 200 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.3427, allocations: 12.75 kB / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.3429, allocations: 203.1 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.3429, allocations: 4.562 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.3429, allocations: 12.38 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.3431, allocations: 111.4 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3431, allocations: 0 / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3432, allocations: 4 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3432, allocations: 8 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.644e-05/0.3433, allocations: 39.98 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.3438, allocations: 472.4 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.629e-05/0.3439, allocations: 37.16 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.788e-05/0.3439, allocations: 21.78 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.3439, allocations: 0 / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.344, allocations: 38.5 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.344, allocations: 0 / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001809/0.3442, allocations: 57.5 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.3442, allocations: 81.3 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.3444, allocations: 188 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.3444, allocations: 25.7 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.3445, allocations: 108 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.656e-06/0.3445, allocations: 7.906 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.3445, allocations: 13.72 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.3446, allocations: 322.8 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.3447, allocations: 8 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.556e-05/0.3447, allocations: 25.72 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.987e-05/0.3447, allocations: 25.7 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3447, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.424e-05/0.3448, allocations: 61.45 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3449, allocations: 8 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3449, allocations: 0 / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3449, allocations: 0 / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.362e-05/0.345, allocations: 16.05 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.345, allocations: 4 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.056e-05/0.345, allocations: 7.875 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.345, allocations: 4 kB / 1.03 GB, free: 14.09 MB / 0.8106 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.372e-05/0.3451, allocations: 121.7 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.3451, allocations: 11.81 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.505e-05/0.3452, allocations: 12.66 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3452, allocations: 7.969 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3452, allocations: 3.938 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.3452, allocations: 11.94 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.3456, allocations: 466.8 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3456, allocations: 0 / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.383e-05/0.3456, allocations: 7.984 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.3456, allocations: 112 / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.3456, allocations: 7.875 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3457, allocations: 4 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3457, allocations: 4.062 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.155e-05/0.3457, allocations: 77.84 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-05/0.3458, allocations: 92.91 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.3458, allocations: 3.938 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.253e-05/0.3459, allocations: 4 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.3459, allocations: 0 / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.3459, allocations: 4.031 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001241/0.346, allocations: 139.2 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.346, allocations: 0 / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001966/0.3462, allocations: 11.94 kB / 1.031 GB, free: 13.01 MB / 0.8106 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.0001093/0.3463, allocations: 95.25 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.682e-05/0.3464, allocations: 23.92 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3465, allocations: 0 / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.04e-05/0.3465, allocations: 8.125 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.3466, allocations: 8 kB / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.347, allocations: 178.9 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.3473, allocations: 0.6963 MB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.589e-05/0.3474, allocations: 16.55 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.3474, allocations: 11.44 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of SimCode: time 4.11e-07/0.3474, allocations: 0 / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of Templates: time 0.002833/0.3502, allocations: 0.5082 MB / 1.033 GB, free: 11.41 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches