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.001719/0.001719, allocations: 103.4 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.00117/0.001171, allocations: 198.5 kB / 17.3 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.513/2.513, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 64.39 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3594, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002491/0.3619, allocations: 0.89 MB / 1.028 GB, free: 1.168 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001914/0.3621, allocations: 51.72 kB / 1.028 GB, free: 1.117 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.83e-05/0.3622, allocations: 0 / 1.028 GB, free: 1.117 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.275e-05/0.3623, allocations: 15.86 kB / 1.028 GB, free: 1.102 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.901e-05/0.3624, allocations: 15.88 kB / 1.028 GB, free: 1.086 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 6.389e-05/0.3625, allocations: 23.92 kB / 1.028 GB, free: 1.062 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.3626, allocations: 83.75 kB / 1.028 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.3628, allocations: 53.08 kB / 1.028 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.616e-05/0.3628, allocations: 31.81 kB / 1.028 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.505e-05/0.3629, allocations: 35.78 kB / 1.028 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.3629, allocations: 8 kB / 1.028 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.296e-05/0.3629, allocations: 8 kB / 1.028 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.448e-05/0.363, allocations: 19.92 kB / 1.028 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.511e-05/0.363, allocations: 43.67 kB / 1.028 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.3632, allocations: 99.55 kB / 1.028 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3632, allocations: 0 / 1.028 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3632, allocations: 0 / 1.028 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.3632, allocations: 0 / 1.028 GB, free: 0.6836 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.0004438/0.3636, allocations: 399.3 kB / 1.028 GB, free: 248 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3637, allocations: 11.97 kB / 1.028 GB, free: 236 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.3637, allocations: 12.75 kB / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.364, allocations: 204.5 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.364, allocations: 12.5 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.364, allocations: 12.36 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.3642, allocations: 109.4 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.3642, allocations: 0 / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.3642, allocations: 4 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3642, allocations: 7.984 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.566e-05/0.3643, allocations: 43.97 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005519/0.3649, allocations: 464.1 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.303e-05/0.3649, allocations: 41.22 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.321e-05/0.365, allocations: 17.72 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.365, allocations: 0 / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.365, allocations: 38.56 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.365, allocations: 0 / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001702/0.3652, allocations: 61.44 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.3652, allocations: 77.11 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.3654, allocations: 184.2 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.3654, allocations: 25.7 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.3655, allocations: 112 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.788e-06/0.3655, allocations: 7.906 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.3656, allocations: 17.72 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3657, allocations: 323 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.3657, allocations: 8 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.568e-05/0.3658, allocations: 21.7 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.251e-05/0.3658, allocations: 29.66 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3658, allocations: 0 / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.322e-05/0.3659, allocations: 61.45 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3659, allocations: 16.05 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.366, allocations: 0 / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.366, allocations: 0 / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.253e-05/0.366, allocations: 4 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.3661, allocations: 7.984 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.268e-05/0.3661, allocations: 11.88 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.3661, allocations: 4 kB / 1.03 GB, free: 14.12 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 8.252e-05/0.3662, allocations: 117.8 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.3662, allocations: 11.81 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.3663, allocations: 20.55 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3663, allocations: 0 / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3663, allocations: 0 / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3663, allocations: 3.938 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004135/0.3667, allocations: 482.7 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3667, allocations: 0 / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.157e-05/0.3668, allocations: 4 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3668, allocations: 0 / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.3668, allocations: 8 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3668, allocations: 4 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3668, allocations: 0 / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.631e-05/0.3669, allocations: 81.83 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/0.367, allocations: 88.92 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.367, allocations: 7.922 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.473e-05/0.367, allocations: 8.031 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.3671, allocations: 4 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.3671, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001003/0.3672, allocations: 131.2 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3672, allocations: 3.938 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001906/0.3674, allocations: 8 kB / 1.031 GB, free: 13.04 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.0001376/0.3675, allocations: 103.2 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.683e-05/0.3676, allocations: 23.94 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3676, allocations: 0 / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-05/0.3676, allocations: 8 kB / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.3678, allocations: 9.375 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.3682, allocations: 182.8 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.3685, allocations: 0.7004 MB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.985e-05/0.3685, allocations: 16.41 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.3686, allocations: 11.44 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of SimCode: time 5.01e-07/0.3686, allocations: 0 / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of Templates: time 0.002563/0.3711, allocations: 0.5044 MB / 1.033 GB, free: 11.43 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 cvode -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