Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00846/0.00846, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001686/0.001686, allocations: 196.9 kB / 16.68 MB, free: 5.926 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.457/2.457, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 71.88 kB / 0.9509 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041/1.042, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002533/1.045, allocations: 0.8832 MB / 1.089 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001427/1.045, allocations: 54.97 kB / 1.089 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.968e-05/1.045, allocations: 1.875 kB / 1.089 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.593e-05/1.045, allocations: 10.36 kB / 1.089 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.265e-05/1.045, allocations: 14.12 kB / 1.089 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.959e-05/1.045, allocations: 22.03 kB / 1.089 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/1.045, allocations: 79.12 kB / 1.089 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/1.046, allocations: 51.72 kB / 1.089 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.872e-05/1.046, allocations: 32.45 kB / 1.089 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.895e-05/1.046, allocations: 39.83 kB / 1.089 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/1.046, allocations: 8.062 kB / 1.089 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.465e-05/1.046, allocations: 12.31 kB / 1.089 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.905e-05/1.046, allocations: 21.69 kB / 1.089 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.279e-05/1.046, allocations: 42.47 kB / 1.089 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001918/1.046, allocations: 102.9 kB / 1.089 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/1.046, allocations: 0 / 1.089 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.723e-06/1.046, allocations: 1.25 kB / 1.089 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.086e-05/1.046, allocations: 0 / 1.089 GB, free: 4.652 MB / 0.8575 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.0005103/1.047, allocations: 398.4 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/1.047, allocations: 8.844 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/1.047, allocations: 18.19 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/1.047, allocations: 201.8 kB / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/1.047, allocations: 8.469 kB / 1.09 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/1.047, allocations: 6.969 kB / 1.09 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/1.047, allocations: 110.9 kB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/1.047, allocations: 0 / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/1.047, allocations: 9.109 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/1.047, allocations: 2.625 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/1.047, allocations: 45.2 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000582/1.048, allocations: 465.7 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.5e-05/1.048, allocations: 37.55 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.594e-05/1.048, allocations: 23.97 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/1.048, allocations: 1.281 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/1.048, allocations: 44.47 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/1.048, allocations: 0 / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001893/1.048, allocations: 58.06 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/1.048, allocations: 77.86 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/1.049, allocations: 190.1 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/1.049, allocations: 25.7 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.316e-05/1.049, allocations: 113.4 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/1.049, allocations: 6.219 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/1.049, allocations: 18.73 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.041e-05/1.049, allocations: 324 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/1.049, allocations: 4.469 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/1.049, allocations: 19.17 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.242e-05/1.049, allocations: 30.92 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.049, allocations: 2.031 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.718e-05/1.049, allocations: 61.67 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/1.049, allocations: 5.625 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/1.049, allocations: 4 kB / 1.091 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/1.049, allocations: 1.859 kB / 1.091 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.065e-05/1.049, allocations: 10.12 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/1.049, allocations: 5.797 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.189e-05/1.049, allocations: 10.44 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/1.049, allocations: 1.25 kB / 1.092 GB, free: 2.508 MB / 0.8575 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.445e-05/1.049, allocations: 114.3 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/1.049, allocations: 14.2 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/1.049, allocations: 13.64 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/1.049, allocations: 1.953 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/1.049, allocations: 0 / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/1.049, allocations: 6.172 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/1.05, allocations: 475.3 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/1.05, allocations: 0 / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.942e-05/1.05, allocations: 3.812 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/1.05, allocations: 1.062 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/1.05, allocations: 4.938 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/1.05, allocations: 1.797 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/1.05, allocations: 3.938 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.095e-05/1.05, allocations: 85.59 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/1.05, allocations: 91.77 kB / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/1.05, allocations: 6.484 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.138e-05/1.05, allocations: 0 / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/1.05, allocations: 6.078 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/1.05, allocations: 0.9375 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001088/1.05, allocations: 138.5 kB / 1.092 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/1.05, allocations: 3.938 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001868/1.05, allocations: 8.25 kB / 1.092 GB, free: 1.586 MB / 0.8575 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.0001158/1.05, allocations: 100.2 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001057/1.051, allocations: 24.09 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.051, allocations: 0 / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.424e-05/1.051, allocations: 12.53 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/1.051, allocations: 7.891 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/1.051, allocations: 173.9 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/1.051, allocations: 0.698 MB / 1.093 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.258e-05/1.051, allocations: 12.48 kB / 1.093 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/1.051, allocations: 11.34 kB / 1.093 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/1.051, allocations: 4.812 kB / 1.093 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of Templates: time 0.003725/1.055, allocations: 0.5283 MB / 1.094 GB, free: 0.5234 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches