Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001777/0.001777, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002288/0.002288, allocations: 215 kB / 20.13 MB, free: 2.949 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.573/1.573, allocations: 230.6 MB / 253.5 MB, free: 15.13 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 3.022/3.022, allocations: 476.7 MB / 0.7678 GB, free: 9.348 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.From_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_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.002032/0.002032, allocations: 67.89 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.248/1.251, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002483/1.253, allocations: 0.8376 MB / 1.28 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001367/1.253, allocations: 45.34 kB / 1.28 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.196e-05/1.253, allocations: 6.031 kB / 1.28 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.386e-05/1.253, allocations: 8.953 kB / 1.28 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.363e-05/1.253, allocations: 10.27 kB / 1.28 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.241e-05/1.253, allocations: 19.8 kB / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000145/1.254, allocations: 60.34 kB / 1.28 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/1.254, allocations: 35.73 kB / 1.28 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.569e-05/1.254, allocations: 30.62 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.686e-05/1.254, allocations: 27.34 kB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/1.254, allocations: 5.656 kB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/1.254, allocations: 6.656 kB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/1.254, allocations: 19.33 kB / 1.28 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.114e-05/1.254, allocations: 37.59 kB / 1.28 GB, free: 11 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/1.254, allocations: 77.52 kB / 1.28 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/1.254, allocations: 0 / 1.28 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/1.254, allocations: 0 / 1.28 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.624e-06/1.254, allocations: 0 / 1.28 GB, free: 10.96 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.0005801/1.255, allocations: 380.9 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/1.255, allocations: 9.812 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.243e-05/1.255, allocations: 6.281 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.557e-05/1.255, allocations: 43.62 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/1.255, allocations: 9.875 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/1.255, allocations: 192.4 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/1.255, allocations: 3.531 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/1.255, allocations: 8.781 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/1.255, allocations: 104.8 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/1.255, allocations: 0 / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/1.255, allocations: 1.094 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/1.255, allocations: 6.156 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.454e-05/1.256, allocations: 40.66 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006623/1.256, allocations: 433.5 kB / 1.281 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.979e-05/1.256, allocations: 45.52 kB / 1.281 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.472e-05/1.256, allocations: 24.91 kB / 1.281 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.026e-06/1.256, allocations: 0 / 1.281 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/1.256, allocations: 44.12 kB / 1.281 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/1.256, allocations: 1.125 kB / 1.281 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001981/1.257, allocations: 55.97 kB / 1.281 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.654e-05/1.257, allocations: 83.05 kB / 1.282 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/1.257, allocations: 160.5 kB / 1.282 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/1.257, allocations: 26.83 kB / 1.282 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.973e-05/1.257, allocations: 103.5 kB / 1.282 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/1.257, allocations: 5.453 kB / 1.282 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/1.257, allocations: 18.95 kB / 1.282 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001781/1.257, allocations: 323.9 kB / 1.282 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.01e-05/1.257, allocations: 3.703 kB / 1.282 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-05/1.257, allocations: 23.73 kB / 1.282 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.33e-05/1.257, allocations: 26.38 kB / 1.282 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.257, allocations: 1.812 kB / 1.282 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001136/1.257, allocations: 61 kB / 1.282 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/1.257, allocations: 9.406 kB / 1.282 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/1.257, allocations: 1.125 kB / 1.282 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/1.257, allocations: 4.062 kB / 1.282 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.53e-05/1.258, allocations: 6.406 kB / 1.282 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/1.258, allocations: 2.109 kB / 1.282 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.515e-05/1.258, allocations: 9.828 kB / 1.282 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/1.258, allocations: 1.188 kB / 1.282 GB, free: 8.824 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.0001133/1.258, allocations: 117 kB / 1.282 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/1.258, allocations: 12.72 kB / 1.282 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/1.258, allocations: 11.62 kB / 1.282 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/1.258, allocations: 1.188 kB / 1.282 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.258, allocations: 4.875 kB / 1.282 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1.258, allocations: 1.844 kB / 1.282 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004783/1.258, allocations: 465.6 kB / 1.283 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/1.258, allocations: 1.125 kB / 1.283 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.394e-05/1.258, allocations: 7.875 kB / 1.283 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/1.258, allocations: 1.391 kB / 1.283 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/1.258, allocations: 0.8125 kB / 1.283 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/1.258, allocations: 4.812 kB / 1.283 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.258, allocations: 4.688 kB / 1.283 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/1.258, allocations: 76.59 kB / 1.283 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.801e-05/1.258, allocations: 90.84 kB / 1.283 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/1.258, allocations: 1.719 kB / 1.283 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.343e-05/1.258, allocations: 5.094 kB / 1.283 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/1.259, allocations: 5.719 kB / 1.283 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/1.259, allocations: 1.766 kB / 1.283 GB, free: 8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001457/1.259, allocations: 120.2 kB / 1.283 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.259, allocations: 0.5625 kB / 1.283 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001929/1.259, allocations: 6.875 kB / 1.283 GB, free: 7.914 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.0005898/1.259, allocations: 0.6236 MB / 1.284 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001176/1.26, allocations: 24.06 kB / 1.284 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.26, allocations: 0 / 1.284 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.536e-05/1.26, allocations: 3.812 kB / 1.284 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/1.26, allocations: 8.438 kB / 1.284 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/1.261, allocations: 1.331 MB / 1.285 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/1.262, allocations: 0.6926 MB / 1.286 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.519e-05/1.262, allocations: 6.828 kB / 1.286 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/1.262, allocations: 25.86 kB / 1.286 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/1.262, allocations: 4 kB / 1.286 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/1.281, allocations: 1.622 MB / 1.287 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.408/9.689, allocations: 20.8 kB / 1.287 GB, free: 4.918 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.360342195024714]