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.001383/0.001383, allocations: 106.8 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.001626/0.001626, 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.579/1.579, allocations: 230.6 MB / 252.8 MB, free: 8.938 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.516/3.516, allocations: 0.49 GB / 0.7916 GB, free: 33.26 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.002068/0.002068, allocations: 81.59 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3661, allocations: 176.1 MB / 1.321 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002223/0.3683, allocations: 0.8394 MB / 1.322 GB, free: 2.496 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001238/0.3685, allocations: 43.78 kB / 1.322 GB, free: 2.453 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.681e-05/0.3685, allocations: 0 / 1.322 GB, free: 2.453 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.273e-05/0.3686, allocations: 11.88 kB / 1.322 GB, free: 2.441 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.424e-05/0.3687, allocations: 7.938 kB / 1.322 GB, free: 2.434 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.138e-05/0.3687, allocations: 23.91 kB / 1.322 GB, free: 2.41 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.3688, allocations: 63.83 kB / 1.322 GB, free: 2.348 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.369, allocations: 31.92 kB / 1.322 GB, free: 2.316 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.262e-05/0.369, allocations: 27.86 kB / 1.322 GB, free: 2.289 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.742e-05/0.3691, allocations: 31.8 kB / 1.322 GB, free: 2.258 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.3691, allocations: 4 kB / 1.322 GB, free: 2.254 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.3691, allocations: 8 kB / 1.322 GB, free: 2.246 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.3692, allocations: 15.92 kB / 1.322 GB, free: 2.23 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.695e-05/0.3692, allocations: 39.75 kB / 1.322 GB, free: 2.191 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.3693, allocations: 75.84 kB / 1.322 GB, free: 2.117 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3693, allocations: 4 kB / 1.322 GB, free: 2.113 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3693, allocations: 0 / 1.322 GB, free: 2.113 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3694, allocations: 0 / 1.322 GB, free: 2.113 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.0004847/0.3698, allocations: 383.1 kB / 1.322 GB, free: 1.688 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.3699, allocations: 11.98 kB / 1.322 GB, free: 1.676 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.442e-05/0.3699, allocations: 46.73 kB / 1.322 GB, free: 1.621 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.37, allocations: 8.891 kB / 1.322 GB, free: 1.613 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.3702, allocations: 192.2 kB / 1.323 GB, free: 1.387 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.3702, allocations: 4.375 kB / 1.323 GB, free: 1.383 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.3702, allocations: 16.3 kB / 1.323 GB, free: 1.367 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.3704, allocations: 99.84 kB / 1.323 GB, free: 1.258 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3704, allocations: 3.938 kB / 1.323 GB, free: 1.254 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3704, allocations: 3.938 kB / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.3704, allocations: 4 kB / 1.323 GB, free: 1.246 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.074e-05/0.3705, allocations: 31.98 kB / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005923/0.3711, allocations: 436.6 kB / 1.323 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.579e-05/0.3711, allocations: 41.28 kB / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.185e-05/0.3712, allocations: 21.83 kB / 1.323 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.3712, allocations: 4 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.3712, allocations: 38.5 kB / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.3712, allocations: 0 / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001789/0.3714, allocations: 57.55 kB / 1.323 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.3714, allocations: 81.05 kB / 1.323 GB, free: 448 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.3716, allocations: 165.2 kB / 1.324 GB, free: 276 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.3716, allocations: 29.95 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.057e-05/0.3717, allocations: 104 kB / 1.324 GB, free: 132 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.865e-06/0.3717, allocations: 3.953 kB / 1.324 GB, free: 128 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.3717, allocations: 17.72 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3719, allocations: 322.8 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/0.3719, allocations: 4 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.718e-05/0.3719, allocations: 21.7 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.343e-05/0.372, allocations: 25.72 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.372, allocations: 0 / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.176e-05/0.3721, allocations: 61.58 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3721, allocations: 11.94 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3721, allocations: 0 / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3721, allocations: 0 / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.281e-05/0.3722, allocations: 8 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3722, allocations: 0 / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.051e-05/0.3722, allocations: 8.016 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3722, allocations: 4 kB / 1.324 GB, free: 15.62 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.035e-05/0.3723, allocations: 117.8 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.3724, allocations: 11.89 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.3724, allocations: 11.86 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3724, allocations: 3.938 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3724, allocations: 4 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3724, allocations: 0 / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/0.3728, allocations: 470.8 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3728, allocations: 0 / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.258e-05/0.3729, allocations: 8 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3729, allocations: 0 / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.3729, allocations: 0 / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3729, allocations: 0 / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3729, allocations: 0 / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.844e-05/0.373, allocations: 97.83 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.373, allocations: 88.98 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.373, allocations: 4 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.091e-05/0.3731, allocations: 0 / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.3731, allocations: 0 / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.3731, allocations: 0 / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.978e-05/0.3732, allocations: 125.3 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3732, allocations: 4.031 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001925/0.3734, allocations: 8 kB / 1.325 GB, free: 14.57 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.0004381/0.3738, allocations: 0.6171 MB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.234e-05/0.3739, allocations: 19.97 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3739, allocations: 0 / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.179e-05/0.3739, allocations: 4 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.3741, allocations: 11.89 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.3754, allocations: 1.33 MB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.3757, allocations: 0.6963 MB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.909e-05/0.3757, allocations: 4.438 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.3758, allocations: 23.42 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.3758, allocations: 0 / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.3998, allocations: 1.584 MB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.039/8.439, allocations: 10.73 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_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: 15.726210122928023]