Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.0009954/0.0009954, 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.001156/0.001156, allocations: 169.9 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.8882/0.8882, allocations: 177.1 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.736/1.736, allocations: 377.9 MB / 0.6221 GB, free: 8.641 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_BtuPerHour,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.131e-05, allocations: 2.281 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001516/0.001537, allocations: 0.8011 MB / 0.9818 GB, free: 1.77 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001139/0.001651, allocations: 39.78 kB / 0.9818 GB, free: 1.73 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.032e-05/0.001701, allocations: 4 kB / 0.9818 GB, free: 1.727 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.552e-05/0.001737, allocations: 7.875 kB / 0.9818 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.403e-05/0.001821, allocations: 11.92 kB / 0.9818 GB, free: 1.707 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.488e-05/0.001866, allocations: 15.98 kB / 0.9818 GB, free: 1.691 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.001966, allocations: 67.78 kB / 0.9819 GB, free: 1.625 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.002096, allocations: 31.92 kB / 0.9819 GB, free: 1.594 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.693e-05/0.002183, allocations: 35.91 kB / 0.982 GB, free: 1.559 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.693e-05/0.00223, allocations: 23.91 kB / 0.982 GB, free: 1.535 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.002256, allocations: 7.938 kB / 0.982 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-06/0.002265, allocations: 8 kB / 0.982 GB, free: 1.52 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.002281, allocations: 11.92 kB / 0.982 GB, free: 1.508 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.002309, allocations: 23.92 kB / 0.982 GB, free: 1.484 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.002414, allocations: 71.7 kB / 0.9821 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.002416, allocations: 0 / 0.9821 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.573e-06/0.002418, allocations: 4 kB / 0.9821 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.002423, allocations: 0 / 0.9821 GB, free: 1.41 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.0003488/0.002772, allocations: 302 kB / 0.9824 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.002812, allocations: 8.031 kB / 0.9824 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.497e-05/0.002847, allocations: 42.73 kB / 0.9824 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.403e-05/0.002871, allocations: 12.84 kB / 0.9824 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.003021, allocations: 133.5 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.003033, allocations: 12.38 kB / 0.9826 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.003044, allocations: 8.375 kB / 0.9826 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.003175, allocations: 87.95 kB / 0.9827 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.003183, allocations: 4.188 kB / 0.9827 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.003193, allocations: 4.375 kB / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.003201, allocations: 8.125 kB / 0.9827 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.233e-05/0.003263, allocations: 43.86 kB / 0.9827 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.003666, allocations: 391.7 kB / 0.9831 GB, free: 256 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.209e-05/0.003718, allocations: 37.28 kB / 0.9831 GB, free: 200 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/0.003746, allocations: 21.84 kB / 0.9832 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.003754, allocations: 0 / 0.9832 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.003775, allocations: 34.56 kB / 0.9832 GB, free: 128 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.003776, allocations: 4 kB / 0.9832 GB, free: 124 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001433/0.003919, allocations: 61.56 kB / 0.9833 GB, free: 56 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.003972, allocations: 84.98 kB / 0.9833 GB, free: 15.95 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.004075, allocations: 156.8 kB / 0.9835 GB, free: 15.79 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.004084, allocations: 25.7 kB / 0.9835 GB, free: 15.76 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.00414, allocations: 108 kB / 0.9836 GB, free: 15.65 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.973e-06/0.004147, allocations: 7.953 kB / 0.9836 GB, free: 15.64 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.004173, allocations: 17.72 kB / 0.9836 GB, free: 15.62 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.467e-05/0.004248, allocations: 318.8 kB / 0.9839 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.00426, allocations: 8.25 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.727e-05/0.004278, allocations: 21.66 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.252e-05/0.00431, allocations: 25.72 kB / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.004312, allocations: 0 / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.921e-05/0.004371, allocations: 61.58 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.004384, allocations: 8 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.004389, allocations: 0 / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.0044, allocations: 0 / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.182e-05/0.004452, allocations: 8 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.00446, allocations: 11.98 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.809e-05/0.004478, allocations: 3.938 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.004482, allocations: 0 / 0.9841 GB, free: 15.14 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.436e-05/0.004536, allocations: 117.8 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.004558, allocations: 11.91 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.779e-05/0.004576, allocations: 11.81 kB / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.004578, allocations: 0 / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.004584, allocations: 7.938 kB / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.004586, allocations: 0 / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.004845, allocations: 437.9 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.004845, allocations: 0 / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.13e-05/0.004857, allocations: 7.938 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.004858, allocations: 0 / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.004863, allocations: 0 / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.004865, allocations: 4 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.004866, allocations: 0 / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.422e-05/0.00492, allocations: 77.88 kB / 0.9847 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.00494, allocations: 11.89 kB / 0.9847 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.004952, allocations: 8 kB / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.105e-05/0.004963, allocations: 12.03 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.115e-05/0.004974, allocations: 0 / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.004976, allocations: 0 / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.484e-05/0.005041, allocations: 122.1 kB / 0.9849 GB, free: 14.24 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005041, allocations: 0 / 0.9849 GB, free: 14.24 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001255/0.005166, allocations: 8 kB / 0.9849 GB, free: 14.23 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.0003753/0.005542, allocations: 0.6093 MB / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.151e-05/0.005613, allocations: 23.92 kB / 0.9855 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.005615, allocations: 4.156 kB / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.132e-06/0.005621, allocations: 7.938 kB / 0.9855 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.005741, allocations: 14.41 kB / 0.9855 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008377/0.006578, allocations: 1.343 MB / 0.9868 GB, free: 12.09 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.385e-05/0.006622, allocations: 75.33 kB / 0.9869 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.771e-05/0.00665, allocations: 8.609 kB / 0.9869 GB, free: 11.99 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.00669, allocations: 28.48 kB / 0.987 GB, free: 11.96 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/0.00669, allocations: 0 / 0.987 GB, free: 11.96 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01472/0.02141, allocations: 2.239 MB / 0.9891 GB, free: 9.867 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.703/6.724, allocations: 8.219 kB / 0.9891 GB, free: 9.863 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_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_BtuPerHour.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.826560616493225]