Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.005697/0.005697, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.001381/0.001381, allocations: 196.5 kB / 16.79 MB, free: 5.809 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.378/1.378, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.719/2.719, allocations: 461.8 MB / 0.7348 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.001719, allocations: 64.42 kB / 0.899 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.339, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002328/0.3414, allocations: 0.9347 MB / 1.054 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001414/0.3416, allocations: 55.78 kB / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.32e-05/0.3416, allocations: 0 / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.28e-05/0.3417, allocations: 7.922 kB / 1.054 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.123e-05/0.3418, allocations: 7.938 kB / 1.054 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.015e-05/0.3419, allocations: 19.98 kB / 1.054 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.342, allocations: 83.69 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.3421, allocations: 49.06 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.588e-05/0.3422, allocations: 31.8 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.051e-05/0.3422, allocations: 35.78 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.3423, allocations: 8 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.374e-05/0.3423, allocations: 8 kB / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.3423, allocations: 11.88 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.3424, allocations: 39.73 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.494e-05/0.3425, allocations: 76.08 kB / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3425, allocations: 0 / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.71e-07/0.3425, allocations: 0 / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.3425, allocations: 0 / 1.054 GB, free: 6.957 MB / 0.8106 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.0004543/0.343, allocations: 395.4 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.343, allocations: 12.03 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.343, allocations: 12.84 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.3433, allocations: 204.2 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.3433, allocations: 12.56 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.3433, allocations: 12.38 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.3435, allocations: 96.45 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3435, allocations: 0 / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.3435, allocations: 11.94 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3436, allocations: 0 / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.17e-05/0.3437, allocations: 55.84 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000582/0.3442, allocations: 468.3 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.262e-05/0.3443, allocations: 41.09 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.836e-05/0.3444, allocations: 25.84 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.084e-06/0.3444, allocations: 0 / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.3444, allocations: 34.55 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3444, allocations: 0 / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001737/0.3446, allocations: 57.45 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.3446, allocations: 81.36 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.3448, allocations: 183.2 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.3448, allocations: 25.7 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.3449, allocations: 108 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.887e-06/0.3449, allocations: 11.84 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.3449, allocations: 17.72 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3451, allocations: 322.8 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.3451, allocations: 4 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.359e-05/0.3451, allocations: 25.7 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.441e-05/0.3452, allocations: 21.72 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3452, allocations: 0 / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.644e-05/0.3453, allocations: 61.55 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3453, allocations: 7.984 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3453, allocations: 4 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3453, allocations: 4.062 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.786e-05/0.3454, allocations: 4 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3454, allocations: 0 / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.48e-05/0.3454, allocations: 15.78 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.3454, allocations: 0 / 1.056 GB, free: 4.406 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.357e-05/0.3455, allocations: 114.1 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.502e-05/0.3456, allocations: 15.81 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.3456, allocations: 24.42 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3456, allocations: 0 / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3456, allocations: 4.094 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3456, allocations: 7.922 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003712/0.346, allocations: 474.8 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.346, allocations: 0 / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.346, allocations: 8 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.346, allocations: 0 / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.3461, allocations: 3.938 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3461, allocations: 64 / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3461, allocations: 4 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.77e-05/0.3462, allocations: 81.83 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.3462, allocations: 92.92 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.3462, allocations: 11.92 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.109e-05/0.3463, allocations: 0 / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.3463, allocations: 11.97 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.3463, allocations: 0 / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.458e-05/0.3464, allocations: 131.2 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3464, allocations: 0 / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001987/0.3466, allocations: 11.94 kB / 1.057 GB, free: 3.32 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.0001163/0.3467, allocations: 99.23 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.812e-05/0.3468, allocations: 16 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3468, allocations: 128 / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.364e-05/0.3468, allocations: 15.94 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.347, allocations: 8 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.3474, allocations: 242.3 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.3476, allocations: 0.6965 MB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.3476, allocations: 15.44 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.3476, allocations: 0 / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of Templates: time 0.002556/0.3502, allocations: 0.9758 MB / 1.059 GB, free: 1.184 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches