Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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.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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 107.4 kB / 16.36 MB, free: 6.285 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.00162/0.00162, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.508/2.508, allocations: 437.1 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 60.38 kB / 0.8707 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3336, allocations: 151.6 MB / 1.019 GB, free: 9.816 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.00238/0.336, allocations: 0.8313 MB / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001108/0.3362, allocations: 39.84 kB / 1.02 GB, free: 8.941 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.682e-05/0.3362, allocations: 0 / 1.02 GB, free: 8.941 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.027e-05/0.3363, allocations: 11.86 kB / 1.02 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.151e-05/0.3364, allocations: 11.88 kB / 1.02 GB, free: 8.918 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.665e-05/0.3364, allocations: 11.98 kB / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.3366, allocations: 67.75 kB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.3367, allocations: 51.94 kB / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.398e-05/0.3368, allocations: 27.81 kB / 1.02 GB, free: 8.762 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.006e-05/0.3369, allocations: 27.84 kB / 1.02 GB, free: 8.734 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.3369, allocations: 8 kB / 1.02 GB, free: 8.727 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.048e-05/0.3369, allocations: 4 kB / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.3369, allocations: 15.94 kB / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.337, allocations: 39.73 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.3371, allocations: 75.64 kB / 1.02 GB, free: 8.594 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3371, allocations: 0 / 1.02 GB, free: 8.594 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3371, allocations: 0 / 1.02 GB, free: 8.594 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.3371, allocations: 0 / 1.02 GB, free: 8.594 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.0005041/0.3377, allocations: 375.2 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3377, allocations: 8.922 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.3378, allocations: 12.84 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.338, allocations: 188.2 kB / 1.021 GB, free: 7.934 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.338, allocations: 8.375 kB / 1.021 GB, free: 7.926 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.3381, allocations: 8.375 kB / 1.021 GB, free: 7.918 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.3382, allocations: 103.8 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3382, allocations: 192 / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.3383, allocations: 11.88 kB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3383, allocations: 3.984 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.205e-05/0.3383, allocations: 39.92 kB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005495/0.3389, allocations: 436.6 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.376e-05/0.339, allocations: 37.19 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.83e-05/0.339, allocations: 25.83 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.339, allocations: 0 / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.3391, allocations: 34.56 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.3391, allocations: 0 / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001917/0.3393, allocations: 61.48 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.3393, allocations: 77.11 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.3395, allocations: 154.2 kB / 1.021 GB, free: 6.82 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.3395, allocations: 25.7 kB / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.578e-05/0.3396, allocations: 108.2 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.646e-06/0.3396, allocations: 7.906 kB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.3396, allocations: 21.7 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3397, allocations: 318.8 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/0.3398, allocations: 4 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.276e-05/0.3398, allocations: 21.7 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.284e-05/0.3398, allocations: 33.59 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3398, allocations: 0 / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.079e-05/0.3399, allocations: 65.53 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3399, allocations: 6.5 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.34, allocations: 3.938 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.34, allocations: 0 / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.537e-05/0.34, allocations: 8 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3401, allocations: 0 / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.085e-05/0.3401, allocations: 7.844 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.3401, allocations: 4.062 kB / 1.022 GB, free: 6.156 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 8.134e-05/0.3402, allocations: 117.8 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.3402, allocations: 7.906 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.3403, allocations: 15.8 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3403, allocations: 4 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3403, allocations: 0 / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3403, allocations: 0 / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.3407, allocations: 470.8 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3407, allocations: 0 / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.3407, allocations: 4 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3407, allocations: 0 / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.3407, allocations: 0 / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3407, allocations: 3.938 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.3407, allocations: 7.938 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.503e-05/0.3408, allocations: 85.89 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/0.3409, allocations: 85 kB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.3409, allocations: 4 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.115e-05/0.3409, allocations: 4 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.341, allocations: 0 / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.341, allocations: 4 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000107/0.3411, allocations: 121.7 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3411, allocations: 4 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001828/0.3413, allocations: 4.031 kB / 1.023 GB, free: 5.121 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.0001337/0.3414, allocations: 103.2 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.3415, allocations: 19.92 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3415, allocations: 0 / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.3e-05/0.3415, allocations: 4 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.3417, allocations: 15.88 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.3421, allocations: 167 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.3424, allocations: 0.6963 MB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.307e-05/0.3424, allocations: 4.438 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.3425, allocations: 11.44 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of SimCode: time 2.11e-07/0.3425, allocations: 0 / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of Templates: time 0.002539/0.345, allocations: 454.1 kB / 1.024 GB, free: 3.59 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches