Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.00207/0.00207, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.455/1.455, 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 10.1.1-maint.10.0.x/package.mo): time 2.69/2.69, allocations: 437.1 MB / 0.711 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 72.98 kB / 0.8699 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3185, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002252/0.3208, allocations: 0.8271 MB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001133/0.321, allocations: 39.78 kB / 1.019 GB, free: 9.789 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.81e-05/0.321, allocations: 0 / 1.019 GB, free: 9.789 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.806e-05/0.3211, allocations: 7.875 kB / 1.019 GB, free: 9.781 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.834e-05/0.3212, allocations: 11.92 kB / 1.019 GB, free: 9.77 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.649e-05/0.3212, allocations: 23.92 kB / 1.019 GB, free: 9.746 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.3213, allocations: 63.75 kB / 1.019 GB, free: 9.684 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.3215, allocations: 47.95 kB / 1.019 GB, free: 9.637 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.137e-05/0.3216, allocations: 23.88 kB / 1.019 GB, free: 9.613 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.418e-05/0.3216, allocations: 27.84 kB / 1.019 GB, free: 9.586 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.3216, allocations: 8 kB / 1.019 GB, free: 9.578 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.416e-05/0.3217, allocations: 4 kB / 1.019 GB, free: 9.574 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.562e-05/0.3217, allocations: 27.86 kB / 1.019 GB, free: 9.547 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.968e-05/0.3217, allocations: 31.75 kB / 1.019 GB, free: 9.516 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.3219, allocations: 68.05 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3219, allocations: 0 / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3219, allocations: 0 / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.3219, allocations: 0 / 1.019 GB, free: 9.449 MB / 0.795 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.0004757/0.3224, allocations: 383.2 kB / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3224, allocations: 8.922 kB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.3224, allocations: 8.844 kB / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.3227, allocations: 196.2 kB / 1.02 GB, free: 8.777 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.3227, allocations: 384 / 1.02 GB, free: 8.777 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.3227, allocations: 12.38 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.3229, allocations: 95.8 kB / 1.02 GB, free: 8.66 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3229, allocations: 4.172 kB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3229, allocations: 7.875 kB / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.3229, allocations: 4 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.127e-05/0.323, allocations: 39.92 kB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006037/0.3236, allocations: 436.6 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.424e-05/0.3237, allocations: 49.17 kB / 1.02 GB, free: 8.059 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.879e-05/0.3238, allocations: 17.78 kB / 1.02 GB, free: 8.035 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.3238, allocations: 4 kB / 1.02 GB, free: 8.031 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.3238, allocations: 34.56 kB / 1.02 GB, free: 7.988 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3238, allocations: 0 / 1.02 GB, free: 7.988 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001763/0.324, allocations: 57.47 kB / 1.02 GB, free: 7.926 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/0.3241, allocations: 81.11 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.3243, allocations: 160.9 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.3243, allocations: 29.7 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.336e-05/0.3244, allocations: 99.98 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.878e-06/0.3244, allocations: 7.891 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.3244, allocations: 17.72 kB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3246, allocations: 314.8 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.523e-05/0.3246, allocations: 7.984 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-05/0.3247, allocations: 21.72 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.548e-05/0.3247, allocations: 29.66 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3247, allocations: 0 / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.412e-05/0.3248, allocations: 61.53 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3249, allocations: 6.344 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3249, allocations: 7.938 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3249, allocations: 0 / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.85e-05/0.3249, allocations: 8.062 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.325, allocations: 0 / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.647e-05/0.325, allocations: 11.84 kB / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.325, allocations: 0 / 1.021 GB, free: 7.008 MB / 0.795 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 0.0001312/0.3251, allocations: 113.8 kB / 1.021 GB, free: 6.887 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.3252, allocations: 11.89 kB / 1.021 GB, free: 6.875 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.3252, allocations: 19.81 kB / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3252, allocations: 0 / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3252, allocations: 0 / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3253, allocations: 4 kB / 1.021 GB, free: 6.852 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004248/0.3257, allocations: 470.7 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3257, allocations: 4 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.732e-05/0.3257, allocations: 0 / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.3257, allocations: 7.984 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.3257, allocations: 0 / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.3257, allocations: 0 / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3258, allocations: 3.938 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.662e-05/0.3259, allocations: 81.91 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.3259, allocations: 89 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.3259, allocations: 0 / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.243e-05/0.326, allocations: 4 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.181e-05/0.326, allocations: 3.938 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.326, allocations: 4 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001036/0.3261, allocations: 123.3 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3261, allocations: 0 / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001874/0.3263, allocations: 8 kB / 1.022 GB, free: 5.965 MB / 0.795 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.0001196/0.3264, allocations: 97.5 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.888e-05/0.3265, allocations: 23.92 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3265, allocations: 0 / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.167e-05/0.3265, allocations: 4.188 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.3267, allocations: 17.89 kB / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.3271, allocations: 188.5 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.3275, allocations: 0.6924 MB / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.3275, allocations: 11.44 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of SimCode: time 3.71e-07/0.3275, allocations: 0 / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of Templates: time 0.002833/0.3303, allocations: 0.8653 MB / 1.024 GB, free: 4 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches