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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001046/0.001046, allocations: 98.8 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 180.7 kB / 16.92 MB, free: 6.918 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.431/1.431, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.499/2.499, allocations: 390.9 MB / 0.667 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.000326, allocations: 15.98 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7438/0.7442, allocations: 142.4 MB / 0.9557 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001068/0.7453, allocations: 0.5944 MB / 0.9563 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001183/0.7454, allocations: 46.78 kB / 0.9563 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.258e-05/0.7455, allocations: 1.344 kB / 0.9563 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.386e-05/0.7455, allocations: 11.92 kB / 0.9563 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.892e-05/0.7456, allocations: 5.375 kB / 0.9563 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.782e-05/0.7457, allocations: 24.02 kB / 0.9564 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.7458, allocations: 76.89 kB / 0.9564 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.7459, allocations: 46.62 kB / 0.9565 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.44e-05/0.746, allocations: 22.98 kB / 0.9565 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.894e-05/0.7461, allocations: 29.73 kB / 0.9565 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.7461, allocations: 1.375 kB / 0.9565 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-06/0.7461, allocations: 2.562 kB / 0.9565 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.7461, allocations: 10.53 kB / 0.9566 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.7462, allocations: 60.81 kB / 0.9566 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.894e-05/0.7462, allocations: 71.11 kB / 0.9567 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7463, allocations: 4 kB / 0.9567 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7463, allocations: 0 / 0.9567 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.7463, allocations: 1.406 kB / 0.9567 GB, free: 6.934 MB / 0.7169 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.0003303/0.7466, allocations: 370 kB / 0.957 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.7467, allocations: 8.938 kB / 0.957 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.7467, allocations: 18.02 kB / 0.9571 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.7469, allocations: 209.7 kB / 0.9573 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.7469, allocations: 7.406 kB / 0.9573 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.7469, allocations: 6.594 kB / 0.9573 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.7471, allocations: 107.5 kB / 0.9574 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.7471, allocations: 0 / 0.9574 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.7471, allocations: 13.3 kB / 0.9574 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.7471, allocations: 6.469 kB / 0.9574 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.378e-05/0.7472, allocations: 39.8 kB / 0.9574 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.7477, allocations: 470 kB / 0.9579 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.771e-05/0.7478, allocations: 42.83 kB / 0.9579 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.335e-05/0.7478, allocations: 15.84 kB / 0.9579 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-06/0.7478, allocations: 3.984 kB / 0.9579 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.7478, allocations: 39.84 kB / 0.958 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.7478, allocations: 0 / 0.958 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001727/0.748, allocations: 55.89 kB / 0.958 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.748, allocations: 78.27 kB / 0.9581 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.7482, allocations: 186 kB / 0.9583 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.7482, allocations: 25.7 kB / 0.9583 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.7483, allocations: 117.8 kB / 0.9584 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.394e-06/0.7483, allocations: 5.281 kB / 0.9584 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/0.7483, allocations: 10.62 kB / 0.9584 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.923e-05/0.7484, allocations: 325.6 kB / 0.9588 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.7484, allocations: 6.5 kB / 0.9588 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.806e-05/0.7484, allocations: 22.8 kB / 0.9588 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.084e-05/0.7485, allocations: 26.75 kB / 0.9588 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7485, allocations: 0 / 0.9588 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.675e-05/0.7485, allocations: 60.12 kB / 0.9589 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.7486, allocations: 4.844 kB / 0.9589 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.7486, allocations: 4.938 kB / 0.9589 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.7486, allocations: 1 kB / 0.9589 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.264e-05/0.7487, allocations: 10.06 kB / 0.9589 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.7487, allocations: 0 / 0.9589 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.158e-05/0.7487, allocations: 18.5 kB / 0.9589 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.7487, allocations: 1.5 kB / 0.9589 GB, free: 4.699 MB / 0.7169 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.502e-05/0.7488, allocations: 121.8 kB / 0.959 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.7488, allocations: 9.375 kB / 0.959 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.7489, allocations: 16.7 kB / 0.959 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.7489, allocations: 0 / 0.959 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7489, allocations: 1.094 kB / 0.959 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.7489, allocations: 5 kB / 0.959 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.7492, allocations: 480.6 kB / 0.9595 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7492, allocations: 1.156 kB / 0.9595 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.86e-05/0.7492, allocations: 6.281 kB / 0.9595 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.7492, allocations: 1.188 kB / 0.9595 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.7492, allocations: 5.125 kB / 0.9595 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.7492, allocations: 0 / 0.9595 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7492, allocations: 1.312 kB / 0.9595 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.316e-05/0.7493, allocations: 82.7 kB / 0.9596 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.7493, allocations: 88.89 kB / 0.9597 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.7494, allocations: 9.609 kB / 0.9597 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.159e-05/0.7494, allocations: 1.406 kB / 0.9597 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.7494, allocations: 3.938 kB / 0.9597 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.7494, allocations: 1.781 kB / 0.9597 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.022e-05/0.7495, allocations: 135.2 kB / 0.9598 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7495, allocations: 0 / 0.9598 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001842/0.7497, allocations: 11.38 kB / 0.9598 GB, free: 3.734 MB / 0.7169 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.0001009/0.7498, allocations: 101.2 kB / 0.9599 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.163e-05/0.7499, allocations: 14.75 kB / 0.9599 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7499, allocations: 0 / 0.9599 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.055e-05/0.7499, allocations: 7.531 kB / 0.96 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.7501, allocations: 11.53 kB / 0.96 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.7504, allocations: 243.3 kB / 0.9602 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.7505, allocations: 0.7015 MB / 0.9609 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.7505, allocations: 12.97 kB / 0.9609 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7505, allocations: 0 / 0.9609 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of Templates: time 0.002221/0.7527, allocations: 0.9658 MB / 0.9618 GB, free: 2.188 MB / 0.7169 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