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.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_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.005346/0.005346, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001118/0.001118, allocations: 195.8 kB / 16.79 MB, free: 5.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.454/1.454, allocations: 222.9 MB / 240.5 MB, free: 4.559 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.661/2.661, allocations: 437 MB / 0.7106 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 59.91 kB / 0.8692 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7441/0.7456, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002557/0.7482, allocations: 0.8899 MB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001643/0.7484, allocations: 39.78 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.019e-05/0.7484, allocations: 0 / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.949e-05/0.7485, allocations: 7.922 kB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.496e-05/0.7486, allocations: 11.88 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.106e-05/0.7487, allocations: 15.98 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.7488, allocations: 55.86 kB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.749, allocations: 47.94 kB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.665e-05/0.749, allocations: 19.88 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.072e-05/0.7491, allocations: 39.72 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.7491, allocations: 4 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.7492, allocations: 4 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.7492, allocations: 11.94 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.7492, allocations: 27.8 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.439e-05/0.7493, allocations: 57.86 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.7493, allocations: 0 / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7493, allocations: 0 / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.7494, allocations: 0 / 1.018 GB, free: 1.559 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.0004923/0.7498, allocations: 383.2 kB / 1.019 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.7499, allocations: 8.031 kB / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.7499, allocations: 8.844 kB / 1.019 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.7502, allocations: 196.1 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.7502, allocations: 8.375 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.7502, allocations: 4.375 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.7504, allocations: 93.89 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.7504, allocations: 4.188 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.7504, allocations: 7.938 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.7504, allocations: 0 / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.702e-05/0.7505, allocations: 39.92 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.7511, allocations: 432.6 kB / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.351e-05/0.7512, allocations: 45.28 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.894e-05/0.7512, allocations: 21.84 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.7512, allocations: 7.922 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.7513, allocations: 30.56 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.7513, allocations: 0 / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001929/0.7515, allocations: 69.38 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.7516, allocations: 77.11 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.7517, allocations: 164.3 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.7517, allocations: 25.7 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.7518, allocations: 104 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.556e-06/0.7518, allocations: 7.844 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.7519, allocations: 17.72 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.752, allocations: 323.1 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.83e-05/0.752, allocations: 11.94 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.439e-05/0.752, allocations: 17.72 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.173e-05/0.7521, allocations: 25.7 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7521, allocations: 0 / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.967e-05/0.7522, allocations: 57.55 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.7522, allocations: 12.06 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.7522, allocations: 3.938 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.7522, allocations: 0 / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.156e-05/0.7523, allocations: 11.98 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.7523, allocations: 0 / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.7524, allocations: 7.906 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.7524, allocations: 4 kB / 1.021 GB, free: 15.11 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 8.287e-05/0.7525, allocations: 113.8 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.7525, allocations: 7.906 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.7526, allocations: 19.75 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.7526, allocations: 4 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.7526, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.7526, allocations: 3.984 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.753, allocations: 470.8 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.753, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.975e-05/0.753, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.753, allocations: 64 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.753, allocations: 4 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.753, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.753, allocations: 3.938 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.7532, allocations: 81.83 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.716e-05/0.7533, allocations: 84.95 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.7533, allocations: 8 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.083e-05/0.7533, allocations: 4.031 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.7534, allocations: 7.922 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.7534, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001036/0.7535, allocations: 117.5 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7535, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001849/0.7537, allocations: 8 kB / 1.021 GB, free: 14.07 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.0001396/0.7538, allocations: 107.2 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.777e-05/0.7539, allocations: 16 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7539, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.456e-05/0.7539, allocations: 11.94 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.7541, allocations: 11.88 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/0.7545, allocations: 210.5 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.7549, allocations: 0.6926 MB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.755, allocations: 15.38 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/0.755, allocations: 0 / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of Templates: time 0.002476/0.7574, allocations: 0.8522 MB / 1.023 GB, free: 12.09 MB / 0.7794 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=480 -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