Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 110.3 kB / 15.99 MB, free: 6.359 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.001321/0.001321, allocations: 189.2 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.347/1.347, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.584/2.584, allocations: 469.8 MB / 0.7427 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001938, allocations: 71.86 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3096, allocations: 159.2 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002308/0.3119, allocations: 0.9271 MB / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001552/0.3121, allocations: 51.78 kB / 1.065 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.3122, allocations: 0 / 1.065 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.677e-05/0.3122, allocations: 11.86 kB / 1.065 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.739e-05/0.3124, allocations: 11.92 kB / 1.065 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.63e-05/0.3124, allocations: 23.98 kB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.3125, allocations: 75.78 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.3127, allocations: 49.09 kB / 1.065 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.245e-05/0.3128, allocations: 39.8 kB / 1.065 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.982e-05/0.3128, allocations: 31.78 kB / 1.065 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.3129, allocations: 8 kB / 1.065 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.323e-05/0.3129, allocations: 8 kB / 1.065 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.375e-05/0.3129, allocations: 15.94 kB / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.256e-05/0.313, allocations: 51.66 kB / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.3131, allocations: 76.09 kB / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3131, allocations: 0 / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3131, allocations: 0 / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3131, allocations: 0 / 1.065 GB, free: 13.75 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.0004883/0.3136, allocations: 395.3 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.3136, allocations: 8.031 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.3137, allocations: 24.67 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.3139, allocations: 196.4 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.3139, allocations: 8.562 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.314, allocations: 12.38 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.3142, allocations: 103.5 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.3142, allocations: 0 / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.3142, allocations: 11.98 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.3142, allocations: 0 / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.684e-05/0.3143, allocations: 39.98 kB / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006003/0.3149, allocations: 472.3 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.211e-05/0.315, allocations: 37.27 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.369e-05/0.315, allocations: 25.78 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.315, allocations: 3.984 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.3151, allocations: 38.5 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3151, allocations: 0 / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001637/0.3153, allocations: 57.48 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.3153, allocations: 77.11 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.3155, allocations: 186.7 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.3155, allocations: 25.7 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.3156, allocations: 108.3 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.336e-06/0.3156, allocations: 3.906 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.3157, allocations: 17.72 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3158, allocations: 326.8 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.212e-05/0.3158, allocations: 12 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.012e-05/0.3159, allocations: 17.7 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.763e-05/0.3159, allocations: 33.66 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3159, allocations: 0 / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.935e-05/0.316, allocations: 61.5 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.316, allocations: 4 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.316, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3161, allocations: 4 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.72e-05/0.3161, allocations: 4 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3161, allocations: 3.938 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.39e-05/0.3162, allocations: 11.88 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.3162, allocations: 4.062 kB / 1.068 GB, free: 11.2 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 9.208e-05/0.3163, allocations: 117.8 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.3163, allocations: 15.81 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.373e-05/0.3164, allocations: 8.547 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3164, allocations: 4 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.3164, allocations: 96 / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3164, allocations: 7.922 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.3168, allocations: 486.8 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3168, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.848e-05/0.3169, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3169, allocations: 4 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.3169, allocations: 3.938 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3169, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3169, allocations: 3.938 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.317, allocations: 85.89 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/0.3171, allocations: 96.91 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.3171, allocations: 3.938 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.004e-05/0.3171, allocations: 0 / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.076e-05/0.3171, allocations: 0 / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.3171, allocations: 4 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001171/0.3173, allocations: 132.3 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3173, allocations: 0 / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001849/0.3175, allocations: 15.97 kB / 1.069 GB, free: 10.12 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.0001307/0.3176, allocations: 107.2 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.936e-05/0.3177, allocations: 19.94 kB / 1.069 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3177, allocations: 0 / 1.069 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.117e-05/0.3177, allocations: 4 kB / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.3179, allocations: 8 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.3183, allocations: 240.7 kB / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.3186, allocations: 0.7007 MB / 1.07 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.3186, allocations: 15.44 kB / 1.07 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of SimCode: time 5.71e-07/0.3187, allocations: 0 / 1.07 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of Templates: time 0.002574/0.3212, allocations: 0.9846 MB / 1.071 GB, free: 7.969 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches