Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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.001537/0.001537, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001858/0.001858, allocations: 218.2 kB / 22.25 MB, free: 5.254 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.785 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.283/3.283, allocations: 0.49 GB / 0.7951 GB, free: 35.42 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_bar,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",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.0021/0.0021, allocations: 71.45 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4099, allocations: 176.1 MB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002078/0.412, allocations: 0.7919 MB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000128/0.4121, allocations: 43.78 kB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.263e-05/0.4121, allocations: 0 / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.184e-05/0.4122, allocations: 11.88 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.948e-05/0.4123, allocations: 11.92 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.503e-05/0.4123, allocations: 15.98 kB / 1.327 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.4124, allocations: 67.78 kB / 1.327 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.4126, allocations: 31.98 kB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.101e-05/0.4127, allocations: 31.84 kB / 1.327 GB, free: 488 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.295e-05/0.4127, allocations: 23.86 kB / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.4128, allocations: 11.94 kB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.4128, allocations: 4 kB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.666e-05/0.4128, allocations: 15.98 kB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.4128, allocations: 35.69 kB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.413, allocations: 83.84 kB / 1.327 GB, free: 312 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.413, allocations: 0 / 1.327 GB, free: 312 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.154e-06/0.413, allocations: 0 / 1.327 GB, free: 312 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.413, allocations: 0 / 1.327 GB, free: 312 kB / 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.0004998/0.4135, allocations: 303.8 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.394e-05/0.4136, allocations: 8.031 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.142e-05/0.4136, allocations: 42.73 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.4136, allocations: 8.891 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.4139, allocations: 138.4 kB / 1.327 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.4139, allocations: 8.281 kB / 1.327 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.4139, allocations: 12.38 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.4141, allocations: 85.83 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.4141, allocations: 7.875 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.4141, allocations: 11.98 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.4141, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.443e-05/0.4142, allocations: 35.98 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005903/0.4148, allocations: 391.9 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.308e-05/0.4148, allocations: 45.09 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.344e-05/0.4149, allocations: 25.77 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.4149, allocations: 0 / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.4149, allocations: 38.5 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.4149, allocations: 0 / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001745/0.4151, allocations: 49.59 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.4152, allocations: 81.05 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.4153, allocations: 164 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.4153, allocations: 29.7 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.266e-05/0.4154, allocations: 104.3 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.448e-06/0.4154, allocations: 7.953 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.4155, allocations: 17.72 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4156, allocations: 322.8 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.4156, allocations: 0 / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.381e-05/0.4157, allocations: 29.69 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.076e-05/0.4157, allocations: 21.72 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4157, allocations: 0 / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001012/0.4158, allocations: 65.58 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.4158, allocations: 12 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.4158, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4159, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.849e-05/0.4159, allocations: 8 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.4159, allocations: 3.938 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.904e-05/0.416, allocations: 3.953 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.416, allocations: 7.938 kB / 1.329 GB, free: 14.03 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 8.97e-05/0.4161, allocations: 121.6 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.4161, allocations: 11.89 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.115e-05/0.4161, allocations: 11.8 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4161, allocations: 8 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4161, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4161, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004127/0.4166, allocations: 433.9 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4166, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-05/0.4166, allocations: 4 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4166, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.4166, allocations: 7.938 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4166, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4166, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.4167, allocations: 93.83 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.549e-05/0.4167, allocations: 7.953 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.4167, allocations: 7.984 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.978e-05/0.4168, allocations: 0 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.534e-05/0.4168, allocations: 0 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.4168, allocations: 4 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001049/0.4169, allocations: 125.1 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4169, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000185/0.4171, allocations: 8 kB / 1.33 GB, free: 13.11 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.0004695/0.4175, allocations: 0.6172 MB / 1.33 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.649e-05/0.4176, allocations: 15.94 kB / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4176, allocations: 0 / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-05/0.4176, allocations: 4 kB / 1.33 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.4178, allocations: 8 kB / 1.33 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.4193, allocations: 1.33 MB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.4194, allocations: 91.39 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.294e-05/0.4195, allocations: 4.438 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/0.4195, allocations: 23.42 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/0.4195, allocations: 0 / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.449, allocations: 2.115 MB / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.52, allocations: 8 kB / 1.334 GB, free: 8.883 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_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_bar.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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: 18.564629350992618]