Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 100.1 kB / 15.88 MB, free: 12 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.00154/0.00154, allocations: 198.8 kB / 16.79 MB, free: 6.809 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.468/1.468, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.801/2.801, allocations: 437 MB / 0.7106 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 59.91 kB / 0.8692 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7148/0.7163, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002531/0.7189, allocations: 0.8937 MB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001415/0.719, allocations: 39.78 kB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.536e-05/0.7191, allocations: 0 / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.024e-05/0.7192, allocations: 7.938 kB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.868e-05/0.7193, allocations: 7.938 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.829e-05/0.7194, allocations: 15.98 kB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.588e-05/0.7195, allocations: 59.84 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.7196, allocations: 43.94 kB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.436e-05/0.7197, allocations: 31.8 kB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.654e-05/0.7197, allocations: 23.86 kB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.7198, allocations: 4 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.7198, allocations: 4 kB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.7198, allocations: 15.92 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.7199, allocations: 27.81 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.72, allocations: 53.86 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.72, allocations: 3.938 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.463e-06/0.72, allocations: 0 / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.72, allocations: 0 / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004849/0.7205, allocations: 387.2 kB / 1.019 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.7205, allocations: 8.031 kB / 1.019 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.7206, allocations: 8.844 kB / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.7208, allocations: 196.2 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.7208, allocations: 4.375 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.7208, allocations: 8.375 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.721, allocations: 92.94 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.7211, allocations: 4.125 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.7211, allocations: 15.94 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.7211, allocations: 0 / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.245e-05/0.7212, allocations: 35.98 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006119/0.7218, allocations: 432.7 kB / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.851e-05/0.7219, allocations: 41.16 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.254e-05/0.7219, allocations: 21.83 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.156e-06/0.7219, allocations: 0 / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.722, allocations: 34.5 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.722, allocations: 0 / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001815/0.7222, allocations: 65.45 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.7222, allocations: 84.98 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.7224, allocations: 159.9 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.7224, allocations: 29.7 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.7225, allocations: 104 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-06/0.7226, allocations: 3.906 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.7226, allocations: 21.7 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.7227, allocations: 319.1 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/0.7227, allocations: 4 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.148e-05/0.7228, allocations: 25.7 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.451e-05/0.7228, allocations: 21.72 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7228, allocations: 3.938 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.818e-05/0.7229, allocations: 61.53 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.7229, allocations: 12.06 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.723, allocations: 3.938 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.723, allocations: 0 / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.528e-05/0.723, allocations: 4 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.7231, allocations: 7.938 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.7231, allocations: 3.906 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.7231, allocations: 4 kB / 1.021 GB, free: 15.14 MB / 0.7794 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.685e-05/0.7232, allocations: 109.8 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.7233, allocations: 8 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.7233, allocations: 27.78 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.7233, allocations: 0 / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.7234, allocations: 4 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.7234, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005308/0.7239, allocations: 466.8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7239, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.167e-05/0.7239, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.7239, allocations: 4.062 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.724, allocations: 4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.724, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.724, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.439e-05/0.7241, allocations: 89.77 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.384e-05/0.7241, allocations: 88.94 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.7242, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.064e-05/0.7242, allocations: 4.031 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.7242, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/0.7242, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.787e-05/0.7243, allocations: 125.3 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7243, allocations: 0 / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002036/0.7245, allocations: 8 kB / 1.022 GB, free: 14.1 MB / 0.7794 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.0001771/0.7247, allocations: 103.2 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.238e-05/0.7248, allocations: 27.86 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7248, allocations: 0 / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.063e-05/0.7248, allocations: 4 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.725, allocations: 11.94 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.7254, allocations: 210.4 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.7256, allocations: 0.6965 MB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.7257, allocations: 11.44 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.7257, allocations: 0 / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of Templates: time 0.002279/0.7279, allocations: 0.857 MB / 1.023 GB, free: 12.11 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches