Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000826/0.000826, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009111/0.0009111, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8926/0.8926, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.721/1.721, allocations: 377.9 MB / 0.6221 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.832e-05/1.97e-05, allocations: 2.281 kB / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.0014/0.00142, allocations: 0.7868 MB / 0.9817 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000102/0.001522, allocations: 47.78 kB / 0.9818 GB, free: 1.758 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.486e-05/0.001567, allocations: 0 / 0.9818 GB, free: 1.758 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.523e-05/0.001602, allocations: 11.86 kB / 0.9818 GB, free: 1.746 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.066e-05/0.001673, allocations: 15.86 kB / 0.9818 GB, free: 1.73 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.915e-05/0.001712, allocations: 15.98 kB / 0.9818 GB, free: 1.715 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.927e-05/0.001811, allocations: 63.84 kB / 0.9819 GB, free: 1.652 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.001927, allocations: 35.86 kB / 0.9819 GB, free: 1.617 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.16e-05/0.002009, allocations: 39.84 kB / 0.982 GB, free: 1.578 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.071e-05/0.00205, allocations: 19.91 kB / 0.982 GB, free: 1.559 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.002071, allocations: 4 kB / 0.982 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.953e-06/0.002078, allocations: 8 kB / 0.982 GB, free: 1.547 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.002099, allocations: 15.92 kB / 0.982 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.002124, allocations: 19.92 kB / 0.982 GB, free: 1.512 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.721e-05/0.002221, allocations: 75.75 kB / 0.9821 GB, free: 1.438 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.002223, allocations: 0 / 0.9821 GB, free: 1.438 MB / 0.9323 GB Notification: Performance of FrontEnd: time 6.72e-07/0.002224, allocations: 0 / 0.9821 GB, free: 1.438 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.002227, allocations: 0 / 0.9821 GB, free: 1.438 MB / 0.9323 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.0003264/0.002554, allocations: 304.3 kB / 0.9824 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.002589, allocations: 8.031 kB / 0.9824 GB, free: 1.102 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.216e-05/0.002621, allocations: 42.73 kB / 0.9824 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.287e-05/0.002644, allocations: 16.84 kB / 0.9824 GB, free: 1.035 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.002789, allocations: 137.5 kB / 0.9826 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.002799, allocations: 12.36 kB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.002808, allocations: 8.375 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.002951, allocations: 90.92 kB / 0.9827 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.002959, allocations: 4.125 kB / 0.9827 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.002968, allocations: 8.312 kB / 0.9827 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.002974, allocations: 4.125 kB / 0.9827 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.76e-05/0.003031, allocations: 35.98 kB / 0.9827 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.003418, allocations: 399.8 kB / 0.9831 GB, free: 276 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.25e-05/0.003461, allocations: 41.16 kB / 0.9832 GB, free: 216 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.003486, allocations: 21.78 kB / 0.9832 GB, free: 188 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-06/0.003492, allocations: 0 / 0.9832 GB, free: 188 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.003511, allocations: 42.48 kB / 0.9832 GB, free: 136 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.003512, allocations: 0 / 0.9832 GB, free: 136 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001244/0.003637, allocations: 45.66 kB / 0.9833 GB, free: 84 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.003682, allocations: 88.98 kB / 0.9833 GB, free: 15.98 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.003783, allocations: 156.3 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.003791, allocations: 29.7 kB / 0.9835 GB, free: 15.78 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.003839, allocations: 104 kB / 0.9836 GB, free: 15.68 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.671e-06/0.003845, allocations: 4.203 kB / 0.9836 GB, free: 15.67 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.003871, allocations: 21.72 kB / 0.9836 GB, free: 15.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.173e-05/0.003942, allocations: 322.8 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.087e-05/0.003953, allocations: 0 / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/0.003969, allocations: 21.72 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.359e-05/0.004003, allocations: 29.7 kB / 0.984 GB, free: 15.26 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.004005, allocations: 3.938 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.989e-05/0.004055, allocations: 53.66 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.004066, allocations: 4 kB / 0.9841 GB, free: 15.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.004071, allocations: 4.062 kB / 0.9841 GB, free: 15.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.004081, allocations: 0 / 0.9841 GB, free: 15.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.193e-05/0.004133, allocations: 15.92 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.00414, allocations: 3.938 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.592e-05/0.004155, allocations: 3.938 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.00416, allocations: 4 kB / 0.9841 GB, free: 15.16 MB / 0.948 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 5.352e-05/0.004213, allocations: 113.8 kB / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.004236, allocations: 11.91 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.776e-05/0.004253, allocations: 11.81 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.004256, allocations: 3.984 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.004261, allocations: 7.938 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.004263, allocations: 0 / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.004501, allocations: 429.9 kB / 0.9846 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.004502, allocations: 0 / 0.9846 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.013e-05/0.004512, allocations: 7.938 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.004514, allocations: 0 / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.00452, allocations: 7.938 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.004522, allocations: 3.938 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.004524, allocations: 4 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.355e-05/0.004577, allocations: 85.94 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.004594, allocations: 11.89 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.004606, allocations: 4 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-06/0.004615, allocations: 0 / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.085e-05/0.004626, allocations: 3.984 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-06/0.004627, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.601e-05/0.004683, allocations: 122.1 kB / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004683, allocations: 0 / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001248/0.004808, allocations: 12 kB / 0.9849 GB, free: 14.25 MB / 0.948 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.000214/0.005022, allocations: 0.6133 MB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.379e-05/0.005086, allocations: 15.94 kB / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.005087, allocations: 0 / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.533e-06/0.005094, allocations: 4 kB / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001131/0.005207, allocations: 15.84 kB / 0.9855 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007929/0.006, allocations: 1.339 MB / 0.9868 GB, free: 12.12 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.304e-05/0.006053, allocations: 83.56 kB / 0.9869 GB, free: 12.02 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.682e-05/0.006079, allocations: 8.578 kB / 0.9869 GB, free: 12.02 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.00612, allocations: 28.48 kB / 0.987 GB, free: 11.99 MB / 0.948 GB Notification: Performance of SimCode: time 5.61e-07/0.00612, allocations: 0 / 0.987 GB, free: 11.99 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01422/0.02034, allocations: 2.216 MB / 0.9891 GB, free: 9.91 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.698/6.719, allocations: 10.95 kB / 0.9891 GB, free: 9.906 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.837097655981779]