Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00138/0.00138, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001524/0.001524, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.628/1.628, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.834/2.834, allocations: 476.7 MB / 0.7678 GB, free: 9.316 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="cs",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.002058/0.002058, allocations: 77.77 kB / 1.113 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9973/0.9994, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.003186/1.003, allocations: 0.8268 MB / 1.28 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002093/1.003, allocations: 41.16 kB / 1.28 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.89e-05/1.003, allocations: 1.594 kB / 1.28 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.263e-05/1.003, allocations: 9.562 kB / 1.28 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/1.003, allocations: 11.41 kB / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.13e-05/1.003, allocations: 19.92 kB / 1.28 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001607/1.003, allocations: 63.47 kB / 1.28 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/1.003, allocations: 39.56 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.017e-05/1.003, allocations: 27.94 kB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.868e-05/1.004, allocations: 30.91 kB / 1.28 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/1.004, allocations: 6.562 kB / 1.28 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.39e-05/1.004, allocations: 5.531 kB / 1.28 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/1.004, allocations: 12.2 kB / 1.28 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.057e-05/1.004, allocations: 36.72 kB / 1.28 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/1.004, allocations: 81.14 kB / 1.28 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.004, allocations: 4.547 kB / 1.28 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.986e-06/1.004, allocations: 0.8438 kB / 1.28 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.322e-06/1.004, allocations: 0 / 1.28 GB, free: 10.94 MB / 0.9981 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.0006299/1.005, allocations: 380.3 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/1.005, allocations: 14.89 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.992e-05/1.005, allocations: 1.281 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.732e-05/1.005, allocations: 39.53 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/1.005, allocations: 9.953 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/1.005, allocations: 196.8 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/1.005, allocations: 7.375 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/1.005, allocations: 5.625 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/1.005, allocations: 103.9 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/1.005, allocations: 0 / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/1.005, allocations: 9.078 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/1.005, allocations: 2.719 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/1.005, allocations: 36 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008355/1.006, allocations: 438.5 kB / 1.281 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/1.006, allocations: 45.27 kB / 1.281 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.948e-05/1.006, allocations: 19.58 kB / 1.281 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/1.006, allocations: 1.188 kB / 1.281 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/1.007, allocations: 36.25 kB / 1.281 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.724e-06/1.007, allocations: 0 / 1.281 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002824/1.007, allocations: 56.81 kB / 1.281 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/1.007, allocations: 78.84 kB / 1.282 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/1.007, allocations: 164.9 kB / 1.282 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/1.007, allocations: 25.7 kB / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/1.007, allocations: 108.1 kB / 1.282 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/1.007, allocations: 10.25 kB / 1.282 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/1.007, allocations: 14.06 kB / 1.282 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001865/1.008, allocations: 323.4 kB / 1.282 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.818e-05/1.008, allocations: 8.031 kB / 1.282 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.375e-05/1.008, allocations: 16.69 kB / 1.282 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.316e-05/1.008, allocations: 27.05 kB / 1.282 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.008, allocations: 4 kB / 1.282 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001308/1.008, allocations: 61.84 kB / 1.282 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/1.008, allocations: 10.67 kB / 1.282 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/1.008, allocations: 0 / 1.282 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/1.008, allocations: 1.375 kB / 1.282 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.184e-05/1.008, allocations: 5.406 kB / 1.282 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/1.008, allocations: 1.703 kB / 1.282 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.082e-05/1.008, allocations: 17.98 kB / 1.282 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/1.008, allocations: 6.172 kB / 1.282 GB, free: 8.801 MB / 0.9981 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.000122/1.008, allocations: 117.9 kB / 1.282 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/1.008, allocations: 16.14 kB / 1.282 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.491e-05/1.008, allocations: 8.406 kB / 1.282 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.008, allocations: 1.797 kB / 1.282 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.008, allocations: 0 / 1.282 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.008, allocations: 0.9062 kB / 1.282 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006354/1.009, allocations: 471.4 kB / 1.283 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/1.009, allocations: 0 / 1.283 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.939e-05/1.009, allocations: 4.422 kB / 1.283 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/1.009, allocations: 5.188 kB / 1.283 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/1.009, allocations: 0 / 1.283 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.009, allocations: 1.828 kB / 1.283 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.009, allocations: 1.125 kB / 1.283 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/1.009, allocations: 76.16 kB / 1.283 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.671e-05/1.009, allocations: 94.5 kB / 1.283 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/1.009, allocations: 5.188 kB / 1.283 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.257e-05/1.009, allocations: 1.109 kB / 1.283 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/1.009, allocations: 6.328 kB / 1.283 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.361e-06/1.009, allocations: 1 kB / 1.283 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001701/1.009, allocations: 122.9 kB / 1.283 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/1.009, allocations: 0 / 1.283 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003351/1.01, allocations: 7.031 kB / 1.283 GB, free: 7.887 MB / 0.9981 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.0006956/1.01, allocations: 0.6158 MB / 1.284 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001368/1.011, allocations: 20.19 kB / 1.284 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.011, allocations: 0 / 1.284 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.33e-05/1.011, allocations: 7.75 kB / 1.284 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/1.011, allocations: 4 kB / 1.284 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/1.013, allocations: 1.327 MB / 1.285 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/1.013, allocations: 0.6928 MB / 1.286 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.894e-05/1.014, allocations: 10.3 kB / 1.286 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.471e-05/1.014, allocations: 26.45 kB / 1.286 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of SimCode: time 3.7e-07/1.014, allocations: 0 / 1.286 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/1.04, allocations: 1.626 MB / 1.287 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.548/9.589, allocations: 21.34 kB / 1.287 GB, free: 4.898 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.081448270007968]