Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001456/0.001456, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001403/0.001403, allocations: 200.6 kB / 16.91 MB, free: 6.195 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.327/1.327, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.597/2.597, allocations: 469.8 MB / 0.7427 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.001821, allocations: 67.86 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2977, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002135/0.2999, allocations: 0.9271 MB / 1.065 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001198/0.3, allocations: 51.72 kB / 1.065 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.3001, allocations: 4 kB / 1.065 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.903e-05/0.3002, allocations: 3.938 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.627e-05/0.3002, allocations: 15.92 kB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.829e-05/0.3003, allocations: 16 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.3004, allocations: 79.72 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.3006, allocations: 53.08 kB / 1.065 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.427e-05/0.3006, allocations: 35.86 kB / 1.065 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.658e-05/0.3007, allocations: 35.72 kB / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.3007, allocations: 8 kB / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.494e-05/0.3007, allocations: 8 kB / 1.065 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.072e-05/0.3008, allocations: 23.92 kB / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.827e-05/0.3008, allocations: 43.67 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.766e-05/0.3009, allocations: 76.08 kB / 1.065 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3009, allocations: 0 / 1.065 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.363e-06/0.301, allocations: 4 kB / 1.065 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.301, allocations: 0 / 1.065 GB, free: 13.72 MB / 0.8419 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.0004742/0.3014, allocations: 399.3 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3015, allocations: 8.031 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.3015, allocations: 16.75 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.3018, allocations: 196.3 kB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.3018, allocations: 8.562 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.3018, allocations: 12.38 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.302, allocations: 107.5 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.302, allocations: 0 / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.302, allocations: 7.984 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.302, allocations: 0 / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.483e-05/0.3021, allocations: 47.92 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005703/0.3027, allocations: 476.3 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.755e-05/0.3028, allocations: 37.2 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/0.3028, allocations: 25.78 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.3028, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.3029, allocations: 38.56 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3029, allocations: 0 / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001718/0.3031, allocations: 57.53 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.3031, allocations: 77.11 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.3033, allocations: 186.7 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.3033, allocations: 25.7 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.94e-05/0.3034, allocations: 104 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.456e-06/0.3034, allocations: 3.906 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.3035, allocations: 21.97 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3036, allocations: 326.8 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.943e-05/0.3036, allocations: 8 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.204e-05/0.3037, allocations: 17.66 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.363e-05/0.3037, allocations: 29.7 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3037, allocations: 0 / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.832e-05/0.3038, allocations: 65.45 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3038, allocations: 6.5 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.3038, allocations: 0 / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.3038, allocations: 4 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.064e-05/0.3039, allocations: 7.984 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3039, allocations: 0 / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.513e-05/0.304, allocations: 15.88 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.304, allocations: 0 / 1.068 GB, free: 11.17 MB / 0.8419 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.407e-05/0.3041, allocations: 117.9 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.3041, allocations: 15.81 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.3041, allocations: 16.55 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.3041, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3042, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3042, allocations: 7.875 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004115/0.3046, allocations: 470.8 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3046, allocations: 8.047 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.007e-05/0.3046, allocations: 4 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3046, allocations: 3.938 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.3046, allocations: 3.938 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3046, allocations: 0 / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3046, allocations: 3.938 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.618e-05/0.3047, allocations: 73.91 kB / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.849e-05/0.3048, allocations: 100.9 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.3048, allocations: 3.938 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.969e-05/0.3049, allocations: 0 / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.3049, allocations: 7.984 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.3049, allocations: 0 / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001032/0.305, allocations: 132.3 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.305, allocations: 0 / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001961/0.3052, allocations: 15.94 kB / 1.069 GB, free: 10.09 MB / 0.8419 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.0001327/0.3053, allocations: 103.2 kB / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.782e-05/0.3054, allocations: 19.98 kB / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3054, allocations: 0 / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-05/0.3055, allocations: 7.938 kB / 1.069 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.3056, allocations: 13.62 kB / 1.069 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003599/0.306, allocations: 240.7 kB / 1.069 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.3063, allocations: 0.7007 MB / 1.07 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.3063, allocations: 15.44 kB / 1.07 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3063, allocations: 0 / 1.07 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of Templates: time 0.00245/0.3088, allocations: 0.9848 MB / 1.071 GB, free: 7.938 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches