Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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.001161/0.001161, 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.0008919/0.0008919, allocations: 165.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.8818/0.8818, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.697/1.697, 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_inH2O,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.71e-05/1.837e-05, allocations: 2.281 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001274/0.001292, allocations: 0.8132 MB / 0.9818 GB, free: 1.766 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001044/0.001397, allocations: 43.78 kB / 0.9818 GB, free: 1.723 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.382e-05/0.00144, allocations: 0 / 0.9818 GB, free: 1.723 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.489e-05/0.001475, allocations: 11.86 kB / 0.9818 GB, free: 1.711 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.246e-05/0.001548, allocations: 11.88 kB / 0.9818 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.016e-05/0.001588, allocations: 11.98 kB / 0.9818 GB, free: 1.688 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.001694, allocations: 71.83 kB / 0.9819 GB, free: 1.617 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.001853, allocations: 31.92 kB / 0.9819 GB, free: 1.586 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.001958, allocations: 35.91 kB / 0.982 GB, free: 1.551 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.986e-05/0.002008, allocations: 15.92 kB / 0.982 GB, free: 1.535 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.002036, allocations: 8 kB / 0.982 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-06/0.002045, allocations: 4 kB / 0.982 GB, free: 1.523 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.824e-05/0.002073, allocations: 23.91 kB / 0.982 GB, free: 1.5 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.002114, allocations: 11.94 kB / 0.982 GB, free: 1.488 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.002246, allocations: 79.62 kB / 0.9821 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.002249, allocations: 0 / 0.9821 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.092e-06/0.002251, allocations: 4 kB / 0.9821 GB, free: 1.406 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.002258, allocations: 0 / 0.9821 GB, free: 1.406 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.0005138/0.002772, allocations: 304.8 kB / 0.9824 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.002829, allocations: 12.03 kB / 0.9824 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.582e-05/0.002874, allocations: 38.75 kB / 0.9824 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.002905, allocations: 12.84 kB / 0.9825 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.003106, allocations: 129.7 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.003119, allocations: 4.375 kB / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.003132, allocations: 12.31 kB / 0.9826 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.003288, allocations: 98.75 kB / 0.9827 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.003298, allocations: 4.188 kB / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.003311, allocations: 384 / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.003319, allocations: 8.062 kB / 0.9827 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.014e-05/0.00339, allocations: 39.92 kB / 0.9827 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.003872, allocations: 391.8 kB / 0.9831 GB, free: 260 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.963e-05/0.003922, allocations: 41.19 kB / 0.9832 GB, free: 200 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.151e-05/0.003953, allocations: 21.83 kB / 0.9832 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.003962, allocations: 4 kB / 0.9832 GB, free: 168 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.003982, allocations: 34.56 kB / 0.9832 GB, free: 124 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.003983, allocations: 4 kB / 0.9832 GB, free: 120 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001417/0.004125, allocations: 49.59 kB / 0.9833 GB, free: 64 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.004175, allocations: 85.05 kB / 0.9833 GB, free: 15.96 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.00428, allocations: 160.1 kB / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.004289, allocations: 29.64 kB / 0.9835 GB, free: 15.76 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.004339, allocations: 104 kB / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.911e-06/0.004345, allocations: 3.953 kB / 0.9836 GB, free: 15.65 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.004373, allocations: 21.7 kB / 0.9836 GB, free: 15.62 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.47e-05/0.004448, allocations: 318.8 kB / 0.9839 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.004461, allocations: 8.25 kB / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.004e-05/0.004481, allocations: 25.64 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.939e-05/0.00451, allocations: 21.72 kB / 0.984 GB, free: 15.24 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.004512, allocations: 0 / 0.984 GB, free: 15.24 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.74e-05/0.004569, allocations: 65.58 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.004581, allocations: 4 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.004585, allocations: 0 / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.004597, allocations: 4 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.844e-05/0.004645, allocations: 12 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.00465, allocations: 0 / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.83e-05/0.004668, allocations: 7.938 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-06/0.004672, 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.626e-05/0.004728, allocations: 113.8 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.00475, allocations: 11.91 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.89e-05/0.004769, allocations: 15.8 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.00477, allocations: 96 / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.004775, allocations: 3.938 kB / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.004778, allocations: 3.984 kB / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.005035, allocations: 437.9 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.005036, allocations: 0 / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.033e-05/0.005046, allocations: 3.938 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.005048, allocations: 4 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.005054, allocations: 0 / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.005056, allocations: 3.938 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.005058, allocations: 7.922 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.12e-05/0.005109, allocations: 73.95 kB / 0.9847 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.005129, allocations: 19.88 kB / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-06/0.005139, allocations: 0 / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.528e-06/0.005149, allocations: 4.094 kB / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.027e-05/0.005159, allocations: 0 / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.005161, allocations: 7.938 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.717e-05/0.005218, allocations: 121.9 kB / 0.9849 GB, free: 14.24 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005218, allocations: 0 / 0.9849 GB, free: 14.24 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001322/0.005351, 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.0002269/0.005578, allocations: 0.6132 MB / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.599e-05/0.005644, allocations: 16.03 kB / 0.9855 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.005645, allocations: 8.062 kB / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.021e-06/0.005651, allocations: 4 kB / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001162/0.005768, allocations: 7.906 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.0008255/0.006593, allocations: 1.355 MB / 0.9869 GB, free: 12.09 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.649e-05/0.00664, allocations: 75.33 kB / 0.9869 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.583e-05/0.006665, allocations: 12.61 kB / 0.9869 GB, free: 11.98 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.006705, allocations: 24.5 kB / 0.987 GB, free: 11.96 MB / 0.948 GB Notification: Performance of SimCode: time 6.51e-07/0.006706, allocations: 0 / 0.987 GB, free: 11.96 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01444/0.02115, allocations: 2.22 MB / 0.9891 GB, free: 9.879 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.678/6.7, allocations: 3.141 kB / 0.9891 GB, free: 9.879 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_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_inH2O.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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.768847764469683]