Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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.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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001247/0.001247, allocations: 190.4 kB / 16.25 MB, free: 6.648 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.377/1.377, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.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.654/2.654, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 71.89 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6269/0.6282, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002125/0.6304, allocations: 0.8897 MB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001113/0.6305, allocations: 39.78 kB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.75e-05/0.6305, allocations: 0 / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.434e-05/0.6306, allocations: 7.922 kB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.862e-05/0.6307, allocations: 11.94 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.98e-05/0.6308, allocations: 15.98 kB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.926e-05/0.6309, allocations: 55.86 kB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.631, allocations: 47.89 kB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.263e-05/0.6311, allocations: 27.81 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.759e-05/0.6311, allocations: 31.83 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.6312, allocations: 4 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.6312, allocations: 12 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.6312, allocations: 11.94 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.124e-05/0.6313, allocations: 35.8 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.6314, allocations: 65.69 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.6314, allocations: 4 kB / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.704e-06/0.6314, allocations: 0 / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.6314, allocations: 0 / 1.018 GB, free: 1.516 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.0004066/0.6318, allocations: 383.1 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.6318, allocations: 12.03 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.6319, allocations: 12.84 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.6321, allocations: 192.1 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.6321, allocations: 4.375 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.6321, allocations: 8.375 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.6323, allocations: 99.84 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.6323, allocations: 192 / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.6323, allocations: 3.938 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.6323, allocations: 4 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.813e-05/0.6324, allocations: 43.92 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.633, allocations: 428.6 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.651e-05/0.633, allocations: 45.28 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.137e-05/0.6331, allocations: 21.77 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.6331, allocations: 0 / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.6331, allocations: 38.56 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 2.094e-06/0.6331, allocations: 0 / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001642/0.6333, allocations: 53.48 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.6334, allocations: 81.3 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.6335, allocations: 167.7 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.6335, allocations: 25.7 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.579e-05/0.6336, allocations: 107.9 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.039e-05/0.6336, allocations: 7.906 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.6337, allocations: 17.72 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.6338, allocations: 318.8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.6338, allocations: 4 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.627e-05/0.6339, allocations: 25.7 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.348e-05/0.6339, allocations: 21.72 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.6339, allocations: 3.938 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.1e-05/0.634, allocations: 61.55 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.634, allocations: 10.33 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.634, allocations: 3.938 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.6341, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.586e-05/0.6341, allocations: 12.06 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.6342, allocations: 0 / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.821e-05/0.6342, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.6342, allocations: 0 / 1.02 GB, free: 15.07 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.767e-05/0.6343, allocations: 117.8 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.6343, allocations: 11.81 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.6344, allocations: 19.8 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.6344, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.6344, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.6344, allocations: 4 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000351/0.6347, allocations: 470.8 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.6348, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.198e-05/0.6348, allocations: 8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.6348, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.6348, allocations: 3.938 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6348, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.6348, allocations: 64 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.253e-05/0.6349, allocations: 81.83 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.635, allocations: 92.94 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.635, allocations: 3.938 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.314e-05/0.635, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.635, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-06/0.635, allocations: 4.031 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.086e-05/0.6351, allocations: 121.3 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6351, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001893/0.6353, allocations: 8 kB / 1.021 GB, free: 14.02 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.0001052/0.6354, allocations: 99.23 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.043e-05/0.6355, allocations: 16 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.6355, allocations: 3.938 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-05/0.6355, allocations: 16.11 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.6357, allocations: 10.19 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002951/0.636, allocations: 174.8 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.6362, allocations: 0.6964 MB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.18e-05/0.6363, allocations: 4.438 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.6363, allocations: 11.44 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6363, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of Templates: time 0.002455/0.6388, allocations: 464.5 kB / 1.022 GB, free: 12.47 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches