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.001157/0.001157, allocations: 108.3 kB / 16.41 MB, free: 6.512 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.001142/0.001142, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.15 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.327/2.327, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001443, allocations: 59.91 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.811/0.8124, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.00193/0.8144, allocations: 0.8764 MB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001335/0.8145, allocations: 63.52 kB / 1.09 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.515e-05/0.8146, allocations: 1.188 kB / 1.09 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.91e-05/0.8146, allocations: 14.92 kB / 1.09 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.552e-05/0.8147, allocations: 9.5 kB / 1.09 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.889e-05/0.8148, allocations: 21.94 kB / 1.09 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.815, allocations: 79.5 kB / 1.09 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.8151, allocations: 55.08 kB / 1.09 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.925e-05/0.8152, allocations: 32.23 kB / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.044e-05/0.8152, allocations: 37.3 kB / 1.09 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.8153, allocations: 12.31 kB / 1.09 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.8153, allocations: 7.25 kB / 1.09 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.8153, allocations: 18.38 kB / 1.09 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.261e-05/0.8154, allocations: 50.84 kB / 1.09 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.8155, allocations: 103.5 kB / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.8155, allocations: 0 / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8155, allocations: 1.125 kB / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.8155, allocations: 0 / 1.09 GB, free: 4.648 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.0003893/0.8159, allocations: 394 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.816, allocations: 10.17 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.816, allocations: 14.91 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.8162, allocations: 201.3 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.8162, allocations: 11.91 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.8162, allocations: 10.91 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.8164, allocations: 103.3 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.8164, allocations: 0 / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.8165, allocations: 5.25 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.8165, allocations: 2.781 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.784e-05/0.8166, allocations: 44.28 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004962/0.8171, allocations: 465.1 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.235e-05/0.8171, allocations: 42.09 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.899e-05/0.8172, allocations: 24.73 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.8172, allocations: 0.7188 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.8172, allocations: 35.94 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.8172, allocations: 0.875 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001759/0.8174, allocations: 57.03 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.8174, allocations: 78.8 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.8176, allocations: 184.7 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.8176, allocations: 31.72 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.8177, allocations: 112.8 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.787e-06/0.8177, allocations: 5.594 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.8177, allocations: 18.16 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.894e-05/0.8178, allocations: 325.3 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.8178, allocations: 7.297 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.34e-05/0.8178, allocations: 20.39 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.741e-05/0.8179, allocations: 31.36 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8179, allocations: 0.6875 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.996e-05/0.818, allocations: 61.44 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.818, allocations: 5.125 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.818, allocations: 1.984 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.818, allocations: 1.094 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.507e-05/0.8181, allocations: 6.672 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.8181, allocations: 3.938 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.8181, allocations: 11.8 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.8181, allocations: 5.062 kB / 1.092 GB, free: 2.52 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.846e-05/0.8182, allocations: 118.7 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.8183, allocations: 13.77 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.8183, allocations: 9.703 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.8183, allocations: 1.797 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8183, allocations: 0 / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.8183, allocations: 4.75 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.8186, allocations: 483.9 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.8186, allocations: 1.797 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.816e-05/0.8187, allocations: 3.062 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.8187, allocations: 1.688 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.8187, allocations: 3.938 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.8187, allocations: 5.156 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8187, allocations: 5.453 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.834e-05/0.8188, allocations: 77.52 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.8188, allocations: 96 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.8188, allocations: 5.328 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.2e-05/0.8189, allocations: 0.7969 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.8189, allocations: 5.297 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.8189, allocations: 2.078 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.405e-05/0.819, allocations: 133.6 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.819, allocations: 4.031 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00019/0.8192, allocations: 8.875 kB / 1.093 GB, free: 1.594 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 9.898e-05/0.8193, allocations: 104.8 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.926e-05/0.8194, allocations: 21.06 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8194, allocations: 0 / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.178e-05/0.8194, allocations: 7.625 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.8196, allocations: 8.219 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.8199, allocations: 202 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.8201, allocations: 0.6979 MB / 1.094 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.8202, allocations: 12.09 kB / 1.094 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.8202, allocations: 0 / 1.094 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of Templates: time 0.002808/0.823, allocations: 0.9962 MB / 1.095 GB, free: 16.5 MB / 0.8731 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