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.001512/0.001512, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.001672/0.001672, allocations: 191 kB / 17.29 MB, free: 5.516 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.505/2.505, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 67.31 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3403, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002218/0.3426, allocations: 0.8875 MB / 1.028 GB, free: 1.191 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000137/0.3427, allocations: 55.72 kB / 1.028 GB, free: 1.137 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.485e-05/0.3428, allocations: 4 kB / 1.028 GB, free: 1.133 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.256e-05/0.3429, allocations: 7.875 kB / 1.028 GB, free: 1.125 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.242e-05/0.3429, allocations: 11.86 kB / 1.028 GB, free: 1.113 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 6.791e-05/0.343, allocations: 27.98 kB / 1.028 GB, free: 1.086 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.3432, allocations: 79.77 kB / 1.028 GB, free: 1.008 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.3434, allocations: 61 kB / 1.028 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.755e-05/0.3434, allocations: 31.8 kB / 1.028 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.085e-05/0.3435, allocations: 39.78 kB / 1.028 GB, free: 0.875 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.3435, allocations: 8 kB / 1.028 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.3436, allocations: 8 kB / 1.028 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.3436, allocations: 15.92 kB / 1.028 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.3436, allocations: 39.75 kB / 1.028 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.3438, allocations: 107.5 kB / 1.028 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3438, allocations: 0 / 1.028 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3438, allocations: 0 / 1.028 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.3438, allocations: 4 kB / 1.028 GB, free: 0.6953 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.0005003/0.3443, allocations: 391.3 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3444, allocations: 12.03 kB / 1.028 GB, free: 256 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.3444, allocations: 12.75 kB / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.3446, allocations: 198.8 kB / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.3447, allocations: 4.562 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.098e-05/0.3447, allocations: 20.3 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.3449, allocations: 112.6 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3449, allocations: 0 / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.3449, allocations: 0 / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3449, allocations: 4 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.362e-05/0.345, allocations: 39.98 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005262/0.3456, allocations: 472.3 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.857e-05/0.3456, allocations: 37.16 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.731e-05/0.3457, allocations: 29.78 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.377e-06/0.3457, allocations: 0 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.3457, allocations: 30.56 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.3457, allocations: 0 / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001741/0.3459, allocations: 65.44 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.3459, allocations: 81.05 kB / 1.03 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.3461, allocations: 188 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.3461, allocations: 25.7 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.025e-05/0.3462, allocations: 104.2 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.3462, allocations: 11.91 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.3463, allocations: 17.66 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3464, allocations: 327 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.3464, allocations: 8 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.892e-05/0.3464, allocations: 13.72 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.481e-05/0.3465, allocations: 33.64 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3465, allocations: 4 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.788e-05/0.3466, allocations: 53.58 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.3466, allocations: 11.94 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3466, allocations: 4 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.3466, allocations: 0 / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.731e-05/0.3467, allocations: 7.984 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.3467, allocations: 0 / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/0.3467, allocations: 15.88 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.3468, allocations: 0 / 1.03 GB, free: 14.14 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.509e-05/0.3468, allocations: 121.8 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.3469, allocations: 11.81 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.444e-05/0.3469, allocations: 20.55 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.3469, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3469, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.3469, allocations: 3.938 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004028/0.3473, allocations: 470.8 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3474, allocations: 0 / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.998e-05/0.3474, allocations: 7.984 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3474, allocations: 4.062 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.3474, allocations: 3.938 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3474, allocations: 0 / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3474, allocations: 4 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.726e-05/0.3475, allocations: 73.84 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.738e-05/0.3476, allocations: 96.91 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.3476, allocations: 3.969 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.016e-05/0.3476, allocations: 4 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.3476, allocations: 4.094 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.3476, allocations: 7.969 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.631e-05/0.3477, allocations: 135.2 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3478, allocations: 0 / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001831/0.3479, allocations: 11.94 kB / 1.031 GB, free: 13.07 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.3481, allocations: 99.19 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.843e-05/0.3481, allocations: 31.86 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3482, allocations: 0 / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.005e-05/0.3482, allocations: 4 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.3483, allocations: 8 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.3486, allocations: 182.8 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.3489, allocations: 0.7004 MB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.167e-05/0.349, allocations: 8.422 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.349, allocations: 15.44 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.349, allocations: 0 / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of Templates: time 0.002487/0.3515, allocations: 0.5082 MB / 1.033 GB, free: 11.45 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 -s gbode -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