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.001811/0.001811, allocations: 110.6 kB / 16.41 MB, free: 6.492 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.001975/0.001975, allocations: 187 kB / 17.34 MB, free: 5.766 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.16 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.252/2.252, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 71.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8315/0.8329, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002016/0.835, allocations: 0.8773 MB / 1.089 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001142/0.8351, allocations: 54.48 kB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.8352, allocations: 2.406 kB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.786e-05/0.8352, allocations: 13.97 kB / 1.09 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.312e-05/0.8353, allocations: 10.34 kB / 1.09 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.195e-05/0.8354, allocations: 25.88 kB / 1.09 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.8355, allocations: 76.06 kB / 1.09 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.8357, allocations: 54.39 kB / 1.09 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.035e-05/0.8357, allocations: 32.75 kB / 1.09 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.887e-05/0.8358, allocations: 36.52 kB / 1.09 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.8358, allocations: 8.031 kB / 1.09 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.509e-05/0.8358, allocations: 7.844 kB / 1.09 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.419e-05/0.8359, allocations: 17.22 kB / 1.09 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.177e-05/0.8359, allocations: 51.39 kB / 1.09 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.8361, allocations: 106.3 kB / 1.09 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8361, allocations: 1.375 kB / 1.09 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8361, allocations: 0 / 1.09 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.8361, allocations: 0 / 1.09 GB, free: 4.664 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.0003594/0.8364, allocations: 394 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.8365, allocations: 13.91 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.8365, allocations: 14 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.8367, allocations: 205.5 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.8367, allocations: 11.81 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.8367, allocations: 13.83 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.8369, allocations: 108.6 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.8369, allocations: 0.5156 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.8369, allocations: 1.188 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.8369, allocations: 2.219 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.727e-05/0.837, allocations: 48.77 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000509/0.8376, allocations: 465.9 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.791e-05/0.8376, allocations: 38.41 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/0.8377, allocations: 23.7 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.8377, allocations: 0.9688 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.8377, allocations: 36.14 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.8377, allocations: 0 / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001506/0.8378, allocations: 58.55 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.8379, allocations: 78.83 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.8381, allocations: 189.1 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.8381, allocations: 25.7 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.8381, allocations: 113.3 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.504e-06/0.8381, allocations: 6.359 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.8382, allocations: 18.41 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.161e-05/0.8382, allocations: 325 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/0.8382, allocations: 8.047 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.022e-05/0.8383, allocations: 19.66 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.7e-05/0.8383, allocations: 30.27 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.8383, allocations: 5.656 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.782e-05/0.8384, allocations: 61.94 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.8384, allocations: 5.094 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.8384, allocations: 1.688 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.8384, allocations: 0 / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.608e-05/0.8385, allocations: 7.297 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.8385, allocations: 0 / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.158e-05/0.8386, allocations: 15.83 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.8386, allocations: 5.156 kB / 1.092 GB, free: 2.523 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 5.451e-05/0.8386, allocations: 115.1 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.435e-05/0.8387, allocations: 13.12 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.8387, allocations: 14.34 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.8387, allocations: 1.094 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.8387, allocations: 0.5156 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.8387, allocations: 5.031 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.839, allocations: 479.4 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.839, allocations: 1.625 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-05/0.8391, allocations: 3.891 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.8391, allocations: 0 / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.8391, allocations: 9.062 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.8391, allocations: 1.5 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8391, allocations: 5.062 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.592e-05/0.8392, allocations: 77.95 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.8392, allocations: 95.08 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.8392, allocations: 6.734 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.066e-05/0.8392, allocations: 0 / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.8393, allocations: 1.859 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.8393, allocations: 2.156 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.126e-05/0.8394, allocations: 132.9 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8394, allocations: 0 / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001888/0.8396, allocations: 16.09 kB / 1.093 GB, free: 1.602 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 8.863e-05/0.8397, allocations: 102.2 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.44e-05/0.8398, allocations: 19.64 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.8398, allocations: 0 / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-05/0.8398, allocations: 9.094 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.84, allocations: 10.19 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.8403, allocations: 201.9 kB / 1.093 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.8405, allocations: 0.6978 MB / 1.094 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.994e-05/0.8405, allocations: 12.78 kB / 1.094 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.8405, allocations: 0 / 1.094 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of Templates: time 0.002759/0.8433, allocations: 1.002 MB / 1.095 GB, free: 16.5 MB / 0.8731 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/jenkins1/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