Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.001404/0.001404, allocations: 107.2 kB / 16.27 MB, free: 5.988 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.001548/0.001549, allocations: 192.3 kB / 17.2 MB, free: 5.613 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.423/1.423, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.159/2.159, allocations: 390.3 MB / 0.6653 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 68.3 kB / 0.8132 GB, free: 33.01 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3038, allocations: 140.4 MB / 0.9503 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.00237/0.3062, allocations: 0.8782 MB / 0.9511 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001735/0.3064, allocations: 63.7 kB / 0.9512 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/0.3064, allocations: 0 / 0.9512 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.003e-05/0.3065, allocations: 7.875 kB / 0.9512 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.949e-05/0.3066, allocations: 11.88 kB / 0.9512 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.948e-05/0.3067, allocations: 23.97 kB / 0.9512 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.3068, allocations: 75.78 kB / 0.9513 GB, free: 7.832 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.307, allocations: 61.06 kB / 0.9514 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.558e-05/0.307, allocations: 31.81 kB / 0.9514 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.916e-05/0.3071, allocations: 39.72 kB / 0.9514 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.3071, allocations: 8 kB / 0.9514 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.602e-05/0.3072, allocations: 8 kB / 0.9514 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.3072, allocations: 19.92 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.418e-05/0.3072, allocations: 39.73 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.3074, allocations: 99.89 kB / 0.9516 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3074, allocations: 0 / 0.9516 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3074, allocations: 3.938 kB / 0.9516 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.3074, allocations: 4 kB / 0.9516 GB, free: 7.52 MB / 0.7325 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.0005194/0.3079, allocations: 395.2 kB / 0.952 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.308, allocations: 8.031 kB / 0.952 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/0.308, allocations: 12.84 kB / 0.952 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.3083, allocations: 204.2 kB / 0.9522 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.3083, allocations: 12.56 kB / 0.9522 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.3083, allocations: 8.375 kB / 0.9522 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.3085, allocations: 104.6 kB / 0.9523 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.3085, allocations: 0 / 0.9523 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.3085, allocations: 4 kB / 0.9523 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.3086, allocations: 4 kB / 0.9523 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.3087, allocations: 47.91 kB / 0.9524 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000593/0.3093, allocations: 468.3 kB / 0.9528 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.974e-05/0.3093, allocations: 41.16 kB / 0.9529 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.835e-05/0.3094, allocations: 17.78 kB / 0.9529 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.3094, allocations: 8 kB / 0.9529 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.3094, allocations: 30.56 kB / 0.9529 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.552e-06/0.3094, allocations: 0 / 0.9529 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001791/0.3096, allocations: 61.44 kB / 0.953 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.3097, allocations: 77.11 kB / 0.953 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.3098, allocations: 179.4 kB / 0.9532 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.3099, allocations: 29.95 kB / 0.9532 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.31, allocations: 116 kB / 0.9534 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-06/0.31, allocations: 3.906 kB / 0.9534 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.31, allocations: 17.72 kB / 0.9534 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.3101, allocations: 326.8 kB / 0.9537 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.906e-05/0.3102, allocations: 7.938 kB / 0.9537 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.66e-05/0.3102, allocations: 21.7 kB / 0.9537 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.043e-05/0.3102, allocations: 25.72 kB / 0.9537 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3102, allocations: 0 / 0.9537 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.242e-05/0.3103, allocations: 61.55 kB / 0.9538 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3104, allocations: 4 kB / 0.9538 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3104, allocations: 0 / 0.9538 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3104, allocations: 0 / 0.9538 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.3105, allocations: 11.98 kB / 0.9538 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3105, allocations: 0 / 0.9538 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.733e-05/0.3105, allocations: 19.84 kB / 0.9538 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-06/0.3105, allocations: 0 / 0.9538 GB, free: 4.977 MB / 0.7325 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.838e-05/0.3106, allocations: 113.8 kB / 0.9539 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.3107, allocations: 11.81 kB / 0.954 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.945e-05/0.3107, allocations: 16.55 kB / 0.954 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3107, allocations: 3.938 kB / 0.954 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3107, allocations: 4 kB / 0.954 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.3107, allocations: 7.938 kB / 0.954 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004207/0.3112, allocations: 474.8 kB / 0.9544 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3112, allocations: 4 kB / 0.9544 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.132e-05/0.3112, allocations: 3.938 kB / 0.9544 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.3112, allocations: 4 kB / 0.9544 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.3112, allocations: 7.938 kB / 0.9545 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3112, allocations: 0 / 0.9545 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3112, allocations: 96 / 0.9545 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.283e-05/0.3113, allocations: 81.94 kB / 0.9545 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.568e-05/0.3114, allocations: 88.92 kB / 0.9546 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.3114, allocations: 11.94 kB / 0.9546 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.043e-05/0.3115, allocations: 0 / 0.9546 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.3115, allocations: 3.984 kB / 0.9546 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.3115, allocations: 4 kB / 0.9546 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001045/0.3116, allocations: 128.3 kB / 0.9548 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.663e-06/0.3116, allocations: 7.969 kB / 0.9548 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002184/0.3118, allocations: 15.88 kB / 0.9548 GB, free: 3.895 MB / 0.7325 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.0001197/0.312, allocations: 99.25 kB / 0.9549 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.133e-05/0.3121, allocations: 19.98 kB / 0.9549 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3121, allocations: 0 / 0.9549 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.512e-05/0.3121, allocations: 15.94 kB / 0.9549 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.3123, allocations: 4 kB / 0.9549 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003732/0.3126, allocations: 208.7 kB / 0.9551 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.3129, allocations: 0.7041 MB / 0.9558 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.313, allocations: 11.44 kB / 0.9558 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.313, allocations: 0 / 0.9558 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of Templates: time 0.002596/0.3156, allocations: 0.9846 MB / 0.9568 GB, free: 1.781 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches