Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001725/0.001725, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.002068/0.002068, allocations: 203.5 kB / 16.15 MB, free: 6.59 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.583/1.583, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.827/2.827, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00227/0.002271, allocations: 71.88 kB / 0.8686 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7625/0.7648, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.003041/0.7679, allocations: 0.9479 MB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002097/0.7682, allocations: 59.69 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.138e-05/0.7683, allocations: 4 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.496e-05/0.7683, allocations: 3.938 kB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.7685, allocations: 3.938 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 8.471e-05/0.7686, allocations: 19.98 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.7687, allocations: 75.78 kB / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.7689, allocations: 53.08 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.018e-05/0.769, allocations: 23.81 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.423e-05/0.7691, allocations: 39.78 kB / 1.018 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.7691, allocations: 4 kB / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.453e-05/0.7691, allocations: 4 kB / 1.018 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.313e-05/0.7692, allocations: 19.91 kB / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.194e-05/0.7693, allocations: 47.67 kB / 1.018 GB, free: 1.477 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.7694, allocations: 81.66 kB / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.7694, allocations: 3.938 kB / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7694, allocations: 0 / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.7694, allocations: 0 / 1.018 GB, free: 1.395 MB / 0.7637 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.00062/0.7701, allocations: 401.3 kB / 1.018 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.7701, allocations: 12.03 kB / 1.018 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.7702, allocations: 8.844 kB / 1.018 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.7705, allocations: 208.2 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.7705, allocations: 12.56 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.7705, allocations: 12.36 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.7708, allocations: 107.5 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.7708, allocations: 0 / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.7708, allocations: 4 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.7708, allocations: 4 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.829e-05/0.7709, allocations: 39.97 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007517/0.7717, allocations: 468.4 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.278e-05/0.7717, allocations: 37.22 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.817e-05/0.7718, allocations: 17.94 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.7718, allocations: 4 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.7719, allocations: 42.5 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 6.372e-06/0.7719, allocations: 3.984 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002232/0.7721, allocations: 57.44 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.7722, allocations: 77.11 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.7724, allocations: 187.7 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.7724, allocations: 29.7 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.7726, allocations: 116 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.7726, allocations: 7.891 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/0.7726, allocations: 17.72 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.7728, allocations: 322.8 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.86e-05/0.7728, allocations: 4 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.401e-05/0.7729, allocations: 21.7 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.189e-05/0.7729, allocations: 33.66 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.773, allocations: 4 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001034/0.7731, allocations: 53.61 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.7731, allocations: 11.98 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.7731, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.7731, allocations: 3.938 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.742e-05/0.7732, allocations: 4 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.7732, allocations: 4 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.723e-05/0.7733, allocations: 15.84 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.7733, allocations: 4 kB / 1.02 GB, free: 14.82 MB / 0.7794 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.0001063/0.7734, allocations: 113.8 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.7734, allocations: 11.81 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.7735, allocations: 16.55 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.7735, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7735, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.7735, allocations: 3.938 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004908/0.774, allocations: 478.8 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.774, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-05/0.774, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.774, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.7741, allocations: 3.938 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.7741, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7741, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.7742, allocations: 85.89 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.138e-05/0.7743, allocations: 92.86 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.7743, allocations: 7.922 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.552e-05/0.7743, allocations: 8 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.7743, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.7744, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001429/0.7745, allocations: 136.3 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7745, allocations: 0 / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002038/0.7747, allocations: 8 kB / 1.021 GB, free: 13.76 MB / 0.7794 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.0001384/0.7749, allocations: 99.23 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.071e-05/0.775, allocations: 19.94 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.775, allocations: 3.938 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.308e-05/0.775, allocations: 8 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.7752, allocations: 10.08 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.7756, allocations: 212.5 kB / 1.021 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.776, allocations: 0.7082 MB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.107e-05/0.776, allocations: 8.547 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.471e-05/0.7761, allocations: 11.44 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.7761, allocations: 0 / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of Templates: time 0.00331/0.7794, allocations: 498 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches