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.001224/0.001224, allocations: 72.44 kB / 19.17 MB, free: 0.7344 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.00153/0.00153, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.923/0.923, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.788/1.788, allocations: 377.8 MB / 0.6221 GB, free: 8.664 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.853e-06/1.853e-06, allocations: 0 / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.6e-05, allocations: 9.375 kB / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002189/0.002215, allocations: 0.7945 MB / 0.9817 GB, free: 1.789 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000139/0.002354, allocations: 39.78 kB / 0.9818 GB, free: 1.75 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.852e-05/0.002413, allocations: 8 kB / 0.9818 GB, free: 1.742 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.681e-05/0.002459, allocations: 7.875 kB / 0.9818 GB, free: 1.734 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.545e-05/0.002545, allocations: 7.938 kB / 0.9818 GB, free: 1.727 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 5.55e-05/0.0026, allocations: 19.97 kB / 0.9818 GB, free: 1.707 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.002718, allocations: 63.78 kB / 0.9819 GB, free: 1.645 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.002857, allocations: 35.86 kB / 0.9819 GB, free: 1.609 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.002957, allocations: 35.91 kB / 0.982 GB, free: 1.574 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.602e-05/0.003003, allocations: 23.91 kB / 0.982 GB, free: 1.551 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.003032, allocations: 4 kB / 0.982 GB, free: 1.547 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.719e-06/0.003042, allocations: 8 kB / 0.982 GB, free: 1.539 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.003065, allocations: 15.92 kB / 0.982 GB, free: 1.523 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.003097, allocations: 23.92 kB / 0.982 GB, free: 1.5 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.003233, allocations: 75.69 kB / 0.9821 GB, free: 1.426 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.003236, allocations: 0 / 0.9821 GB, free: 1.426 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.172e-06/0.003237, allocations: 0 / 0.9821 GB, free: 1.426 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.003242, allocations: 0 / 0.9821 GB, free: 1.426 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.0004395/0.003681, allocations: 302 kB / 0.9824 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.003728, allocations: 8.031 kB / 0.9824 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.305e-05/0.003771, allocations: 38.75 kB / 0.9824 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.003803, allocations: 12.84 kB / 0.9824 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.004008, allocations: 141.5 kB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.004019, allocations: 4.375 kB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.004035, allocations: 12.38 kB / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.004199, allocations: 90.75 kB / 0.9827 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.00421, allocations: 4.125 kB / 0.9827 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.004223, allocations: 4.375 kB / 0.9827 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.004232, allocations: 8.125 kB / 0.9827 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.591e-05/0.004318, allocations: 39.92 kB / 0.9827 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005626/0.004881, allocations: 391.8 kB / 0.9831 GB, free: 276 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 7.459e-05/0.004956, allocations: 49.25 kB / 0.9832 GB, free: 208 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.649e-05/0.004992, allocations: 13.72 kB / 0.9832 GB, free: 188 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.005001, allocations: 0 / 0.9832 GB, free: 188 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.005032, allocations: 42.5 kB / 0.9832 GB, free: 136 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.005034, allocations: 0 / 0.9832 GB, free: 136 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0002124/0.005246, allocations: 49.64 kB / 0.9833 GB, free: 80 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.005318, allocations: 84.98 kB / 0.9833 GB, free: 15.98 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.005467, allocations: 156.3 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.005482, allocations: 29.95 kB / 0.9835 GB, free: 15.78 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.671e-05/0.005569, allocations: 112 kB / 0.9836 GB, free: 15.67 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.161e-05/0.00558, allocations: 3.953 kB / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.005629, allocations: 21.7 kB / 0.9836 GB, free: 15.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.005739, allocations: 314.8 kB / 0.9839 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.00576, allocations: 7.984 kB / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.026e-05/0.00579, allocations: 21.72 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.784e-05/0.005838, allocations: 25.66 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.005841, allocations: 3.938 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.579e-05/0.005936, allocations: 61.64 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.005953, allocations: 8 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.00596, allocations: 0 / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.005979, allocations: 0 / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.33e-05/0.006053, allocations: 7.938 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.006063, allocations: 7.938 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.967e-05/0.006092, allocations: 7.938 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.0061, allocations: 4 kB / 0.9841 GB, free: 15.15 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 0.000108/0.006208, allocations: 113.8 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.006241, allocations: 15.89 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.006267, allocations: 11.88 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.00627, allocations: 0 / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.006277, allocations: 7.938 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.00628, allocations: 0 / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.006599, allocations: 429.9 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.0066, allocations: 0 / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.123e-05/0.006622, allocations: 7.938 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.006624, allocations: 0 / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.006631, allocations: 3.984 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.006634, allocations: 4 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.006636, allocations: 4.062 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.61e-05/0.006702, allocations: 73.89 kB / 0.9847 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.006727, allocations: 19.88 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.006738, allocations: 3.938 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.259e-05/0.006751, allocations: 4 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.006762, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.006765, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.677e-05/0.006832, allocations: 122.1 kB / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006832, allocations: 0 / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001268/0.006959, allocations: 8 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.0002735/0.007233, allocations: 0.6172 MB / 0.9855 GB, free: 13.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.684e-05/0.007309, allocations: 19.94 kB / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.007311, allocations: 0 / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.161e-06/0.007318, allocations: 4 kB / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.007449, allocations: 26.52 kB / 0.9855 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009099/0.008359, allocations: 1.34 MB / 0.9868 GB, free: 12.11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.081e-05/0.00841, allocations: 75.33 kB / 0.9869 GB, free: 12.02 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.289e-05/0.008442, allocations: 12.48 kB / 0.9869 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.008491, allocations: 16.5 kB / 0.9869 GB, free: 11.99 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/0.008491, allocations: 4 kB / 0.987 GB, free: 11.98 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.02726, allocations: 2.229 MB / 0.9891 GB, free: 9.895 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.705/6.732, allocations: 12.67 kB / 0.9891 GB, free: 9.887 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 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.mat","/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.838314855471253]