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.001505/0.001505, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.001649/0.001649, allocations: 190.3 kB / 17.29 MB, free: 5.48 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.48/2.48, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 64.88 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3197, 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.002449/0.3222, allocations: 0.9055 MB / 1.028 GB, free: 1.133 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001549/0.3224, allocations: 47.78 kB / 1.028 GB, free: 1.086 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.975e-05/0.3225, allocations: 4 kB / 1.028 GB, free: 1.082 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.085e-05/0.3225, allocations: 11.81 kB / 1.028 GB, free: 1.07 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.914e-05/0.3226, allocations: 11.86 kB / 1.028 GB, free: 1.059 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.476e-05/0.3227, allocations: 23.98 kB / 1.028 GB, free: 1.035 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.3228, allocations: 79.77 kB / 1.028 GB, free: 0.957 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.323, allocations: 57.02 kB / 1.028 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.679e-05/0.3231, allocations: 35.86 kB / 1.028 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.51e-05/0.3232, allocations: 31.78 kB / 1.028 GB, free: 0.832 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.3232, allocations: 8 kB / 1.028 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.473e-05/0.3233, allocations: 12 kB / 1.028 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.477e-05/0.3233, allocations: 23.86 kB / 1.028 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.772e-05/0.3234, allocations: 43.73 kB / 1.028 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.3235, allocations: 99.55 kB / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3236, allocations: 0 / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.785e-06/0.3236, allocations: 0 / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.3236, allocations: 0 / 1.028 GB, free: 0.6484 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.0005326/0.3241, allocations: 391.3 kB / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3242, allocations: 8.031 kB / 1.028 GB, free: 216 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.3242, allocations: 16.75 kB / 1.028 GB, free: 200 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.3245, allocations: 204.3 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3245, allocations: 4.562 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.3245, allocations: 12.31 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.3247, allocations: 108.4 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3247, allocations: 3.938 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.3247, allocations: 4 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.3248, allocations: 0 / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.229e-05/0.3249, allocations: 47.97 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.3255, allocations: 468.3 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.261e-05/0.3255, allocations: 37.09 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.687e-05/0.3256, allocations: 17.84 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.3256, allocations: 8 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.3256, allocations: 30.56 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.3257, allocations: 3.938 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000176/0.3258, allocations: 65.48 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.3259, allocations: 81.05 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.3261, allocations: 188.2 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.3261, allocations: 29.7 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.209e-05/0.3262, allocations: 104.2 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.3262, allocations: 7.906 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.3263, allocations: 17.66 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.3264, allocations: 326.8 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.647e-05/0.3265, allocations: 8 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.438e-05/0.3265, allocations: 21.7 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.837e-05/0.3266, allocations: 25.72 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3266, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001326/0.3267, allocations: 69.45 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3268, allocations: 4 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3268, allocations: 0 / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.3268, allocations: 7.984 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.515e-05/0.3269, allocations: 4 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3269, allocations: 0 / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.327, allocations: 15.94 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.327, allocations: 0 / 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 0.000101/0.3271, allocations: 121.7 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.83e-05/0.3272, allocations: 11.81 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.3272, allocations: 16.55 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3272, allocations: 4 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3272, allocations: 0 / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3273, allocations: 3.938 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000487/0.3277, allocations: 474.8 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3278, allocations: 4 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.355e-05/0.3278, allocations: 0 / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.3278, allocations: 7.938 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.3278, allocations: 0 / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.3278, allocations: 0 / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3278, allocations: 0 / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.328, allocations: 85.95 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.151e-05/0.328, allocations: 92.86 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.3281, allocations: 3.938 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.482e-05/0.3281, allocations: 3.984 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.3281, allocations: 0 / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.3281, allocations: 4 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000162/0.3283, allocations: 131.3 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3283, allocations: 8 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003187/0.3287, allocations: 11.94 kB / 1.031 GB, free: 13.02 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.0001447/0.3288, allocations: 103.2 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.3289, allocations: 15.94 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3289, allocations: 4 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.581e-05/0.329, allocations: 4 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.0002324/0.3292, allocations: 4.25 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004879/0.3297, allocations: 186.8 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.33, allocations: 0.704 MB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.269e-05/0.3301, allocations: 16.41 kB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.445e-05/0.3302, allocations: 11.44 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of SimCode: time 4.71e-07/0.3302, allocations: 0 / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of Templates: time 0.00399/0.3342, allocations: 0.5044 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 gbode -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