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.001795/0.001795, allocations: 105.6 kB / 16.45 MB, free: 6.453 MB / 14.72 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.002208/0.002208, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.531/1.531, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.215/3.215, allocations: 0.49 GB / 0.7916 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 77.95 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3902, allocations: 176.1 MB / 1.321 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002158/0.3924, allocations: 0.8248 MB / 1.322 GB, free: 2.52 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001248/0.3925, allocations: 47.78 kB / 1.322 GB, free: 2.473 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.509e-05/0.3926, allocations: 0 / 1.322 GB, free: 2.473 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.763e-05/0.3926, allocations: 7.875 kB / 1.322 GB, free: 2.465 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.028e-05/0.3927, allocations: 3.938 kB / 1.322 GB, free: 2.461 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.066e-05/0.3927, allocations: 23.92 kB / 1.322 GB, free: 2.438 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.3929, allocations: 67.77 kB / 1.322 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.393, allocations: 35.91 kB / 1.322 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.888e-05/0.3931, allocations: 31.86 kB / 1.322 GB, free: 2.305 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.273e-05/0.3931, allocations: 27.8 kB / 1.322 GB, free: 2.277 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.3931, allocations: 8 kB / 1.322 GB, free: 2.27 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.327e-06/0.3932, allocations: 4 kB / 1.322 GB, free: 2.266 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.747e-05/0.3932, allocations: 19.92 kB / 1.322 GB, free: 2.246 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.3932, allocations: 27.81 kB / 1.322 GB, free: 2.219 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.3933, allocations: 83.78 kB / 1.322 GB, free: 2.137 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3934, allocations: 0 / 1.322 GB, free: 2.137 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3934, allocations: 0 / 1.322 GB, free: 2.137 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3934, allocations: 0 / 1.322 GB, free: 2.137 MB / 1.014 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.0005024/0.3939, allocations: 391.1 kB / 1.322 GB, free: 1.703 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3939, allocations: 11.98 kB / 1.322 GB, free: 1.691 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/0.394, allocations: 42.73 kB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.394, allocations: 12.88 kB / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.3942, allocations: 192.2 kB / 1.323 GB, free: 1.402 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.892e-06/0.3942, allocations: 384 / 1.323 GB, free: 1.402 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.3942, allocations: 12.38 kB / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.3944, allocations: 95.84 kB / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3944, allocations: 7.938 kB / 1.323 GB, free: 1.277 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.3944, allocations: 0 / 1.323 GB, free: 1.277 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3944, allocations: 4 kB / 1.323 GB, free: 1.273 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.12e-05/0.3945, allocations: 39.92 kB / 1.323 GB, free: 1.234 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005762/0.3951, allocations: 432.6 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.709e-05/0.3952, allocations: 45.34 kB / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.015e-05/0.3952, allocations: 17.72 kB / 1.323 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.3952, allocations: 3.984 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.3953, allocations: 38.56 kB / 1.323 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3953, allocations: 0 / 1.323 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.000182/0.3954, allocations: 61.48 kB / 1.323 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.3955, allocations: 77.11 kB / 1.323 GB, free: 472 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.3957, allocations: 164 kB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.3957, allocations: 25.7 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.3958, allocations: 104 kB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.012e-05/0.3958, allocations: 7.953 kB / 1.324 GB, free: 152 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.3958, allocations: 17.72 kB / 1.324 GB, free: 128 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.396, allocations: 319.1 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.931e-05/0.396, allocations: 11.94 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.593e-05/0.396, allocations: 21.7 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.451e-05/0.3961, allocations: 21.72 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3961, allocations: 0 / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.445e-05/0.3962, allocations: 61.59 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3962, allocations: 12 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.3962, allocations: 3.984 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3962, allocations: 4 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.345e-05/0.3963, allocations: 4 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.3963, allocations: 4 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.193e-05/0.3963, allocations: 7.953 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.3963, allocations: 0 / 1.324 GB, free: 15.64 MB / 1.029 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 9.359e-05/0.3964, allocations: 119.3 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.3964, allocations: 11.89 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.3965, allocations: 19.86 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3965, allocations: 0 / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3965, allocations: 0 / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3965, allocations: 0 / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.397, allocations: 466.8 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.397, allocations: 0 / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.998e-05/0.397, allocations: 4 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.397, allocations: 0 / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.397, allocations: 4.062 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.397, allocations: 7.938 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.397, allocations: 0 / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.666e-05/0.3971, allocations: 85.83 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.97e-05/0.3972, allocations: 89 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.3972, allocations: 3.984 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.965e-05/0.3972, allocations: 4.031 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.3972, allocations: 11.94 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-06/0.3972, allocations: 0 / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.936e-05/0.3973, allocations: 120.9 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3973, allocations: 0 / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000184/0.3975, allocations: 8 kB / 1.325 GB, free: 14.59 MB / 1.029 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.0004799/0.398, allocations: 0.6133 MB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.907e-05/0.3981, allocations: 19.94 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3981, allocations: 0 / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.045e-05/0.3981, allocations: 4 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.3982, allocations: 8 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.3996, allocations: 1.334 MB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.4, allocations: 0.7001 MB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.077e-05/0.4, allocations: 4.438 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.157e-05/0.4001, allocations: 23.42 kB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.4001, allocations: 4 kB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.4262, allocations: 1.595 MB / 1.329 GB, free: 10.22 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.237/8.664, allocations: 11.98 kB / 1.329 GB, free: 10.21 MB / 1.029 GB " [Timeout remaining time 291] (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/jenkins1/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: 15.53824870614335]