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.008425/0.008425, allocations: 105.9 kB / 15.73 MB, free: 6 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.00154/0.00154, allocations: 189 kB / 16.67 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.277/2.277, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 67.91 kB / 0.9509 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.034, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002188/1.036, allocations: 0.8783 MB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000152/1.036, allocations: 58.55 kB / 1.089 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/1.036, allocations: 5.438 kB / 1.089 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.138e-05/1.037, allocations: 10.36 kB / 1.089 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.386e-05/1.037, allocations: 14.66 kB / 1.089 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.383e-05/1.037, allocations: 26.16 kB / 1.089 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001447/1.037, allocations: 79.2 kB / 1.089 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/1.037, allocations: 51.05 kB / 1.089 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.61e-05/1.037, allocations: 29.44 kB / 1.089 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.117e-05/1.037, allocations: 36.42 kB / 1.089 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/1.037, allocations: 8.375 kB / 1.089 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.753e-05/1.037, allocations: 7.906 kB / 1.089 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.865e-05/1.037, allocations: 24.75 kB / 1.089 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.262e-05/1.037, allocations: 47.84 kB / 1.089 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000171/1.038, allocations: 98.92 kB / 1.089 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.038, allocations: 1.125 kB / 1.089 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/1.038, allocations: 0 / 1.089 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.963e-06/1.038, allocations: 4.891 kB / 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.000512/1.038, allocations: 394.9 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/1.038, allocations: 12.81 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/1.038, allocations: 14.06 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/1.038, allocations: 205.8 kB / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/1.038, allocations: 4.281 kB / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/1.038, allocations: 10.53 kB / 1.09 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/1.039, allocations: 116.2 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/1.039, allocations: 0 / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/1.039, allocations: 1.125 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/1.039, allocations: 2.25 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.534e-05/1.039, allocations: 44.77 kB / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005692/1.039, allocations: 458.1 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.695e-05/1.039, allocations: 42.52 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.109e-05/1.039, allocations: 24.31 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/1.039, allocations: 0.5625 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/1.039, allocations: 36.55 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/1.04, allocations: 0 / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000188/1.04, allocations: 61.5 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/1.04, allocations: 86.62 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/1.04, allocations: 185.1 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/1.04, allocations: 27.16 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/1.04, allocations: 112.5 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.767e-06/1.04, allocations: 9.984 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/1.04, allocations: 14.55 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.885e-05/1.04, allocations: 328.2 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.022e-05/1.04, allocations: 8.859 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.318e-05/1.04, allocations: 19.86 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.675e-05/1.04, allocations: 22.48 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.04, allocations: 1.031 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.041e-05/1.04, allocations: 62.34 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/1.04, allocations: 9.719 kB / 1.091 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/1.04, allocations: 0 / 1.091 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/1.04, allocations: 1.125 kB / 1.091 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-05/1.04, allocations: 11.23 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/1.04, allocations: 3.984 kB / 1.091 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.236e-05/1.04, allocations: 15.94 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/1.041, allocations: 5 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 6.237e-05/1.041, allocations: 115.2 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/1.041, allocations: 12.5 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/1.041, allocations: 18.31 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/1.041, allocations: 1.094 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.041, allocations: 1.828 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/1.041, allocations: 3.938 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/1.041, allocations: 476.2 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.041, allocations: 1.062 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.753e-05/1.041, allocations: 3.188 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/1.041, allocations: 5.859 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/1.041, allocations: 5 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.041, allocations: 0 / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.041, allocations: 5.672 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.155e-05/1.041, allocations: 80.62 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/1.041, allocations: 93.3 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/1.041, allocations: 8.719 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.026e-05/1.041, allocations: 1.281 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/1.041, allocations: 2.016 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/1.041, allocations: 0.9062 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001365/1.041, allocations: 137 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/1.041, allocations: 0.9688 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002122/1.042, allocations: 7.344 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.0001122/1.042, allocations: 98 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.751e-05/1.042, allocations: 29.11 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.042, allocations: 0 / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-05/1.042, allocations: 4.359 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/1.042, allocations: 10.11 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/1.042, allocations: 173.9 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/1.043, allocations: 0.7018 MB / 1.093 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.194e-05/1.043, allocations: 9.625 kB / 1.093 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/1.043, allocations: 11.31 kB / 1.093 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of SimCode: time 2.91e-07/1.043, allocations: 0 / 1.093 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of Templates: time 0.002919/1.046, allocations: 0.5218 MB / 1.094 GB, free: 0.5273 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