Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001405/0.001405, allocations: 113 kB / 18.94 MB, free: 2.934 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.001571/0.001571, allocations: 207 kB / 22.25 MB, free: 5.086 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.335/3.335, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_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.002244/0.002244, allocations: 67.73 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3596, allocations: 180.2 MB / 1.353 GB, free: 8.488 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.00211/0.3617, allocations: 0.839 MB / 1.354 GB, free: 7.652 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001101/0.3618, allocations: 39.78 kB / 1.354 GB, free: 7.613 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.283e-05/0.3618, allocations: 4 kB / 1.354 GB, free: 7.609 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.853e-05/0.3619, allocations: 3.938 kB / 1.354 GB, free: 7.605 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.754e-05/0.362, allocations: 19.84 kB / 1.354 GB, free: 7.586 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.403e-05/0.362, allocations: 19.98 kB / 1.354 GB, free: 7.566 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.3621, allocations: 63.78 kB / 1.354 GB, free: 7.504 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3622, allocations: 27.98 kB / 1.354 GB, free: 7.477 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.603e-05/0.3623, allocations: 27.86 kB / 1.354 GB, free: 7.449 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.146e-05/0.3624, allocations: 27.86 kB / 1.354 GB, free: 7.422 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.3624, allocations: 4 kB / 1.354 GB, free: 7.418 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.3624, allocations: 8 kB / 1.354 GB, free: 7.41 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.3624, allocations: 11.92 kB / 1.354 GB, free: 7.398 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.3625, allocations: 39.73 kB / 1.354 GB, free: 7.359 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.3626, allocations: 83.8 kB / 1.354 GB, free: 7.277 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3626, allocations: 4 kB / 1.354 GB, free: 7.273 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3626, allocations: 0 / 1.354 GB, free: 7.273 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.3626, allocations: 0 / 1.354 GB, free: 7.273 MB / 1.045 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.0004406/0.363, allocations: 302 kB / 1.354 GB, free: 6.945 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.3631, allocations: 12.02 kB / 1.354 GB, free: 6.934 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.821e-05/0.3631, allocations: 38.75 kB / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.3631, allocations: 8.891 kB / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.3633, allocations: 134.3 kB / 1.355 GB, free: 6.723 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.3633, allocations: 12.38 kB / 1.355 GB, free: 6.711 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.3634, allocations: 12.38 kB / 1.355 GB, free: 6.699 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.3635, allocations: 93.72 kB / 1.355 GB, free: 6.598 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3635, allocations: 3.938 kB / 1.355 GB, free: 6.594 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3636, allocations: 4 kB / 1.355 GB, free: 6.59 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.3636, allocations: 4 kB / 1.355 GB, free: 6.586 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.894e-05/0.3636, allocations: 39.86 kB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/0.3642, allocations: 403.7 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.887e-05/0.3643, allocations: 41.27 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/0.3643, allocations: 25.83 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-06/0.3643, allocations: 0 / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.3644, allocations: 34.56 kB / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.3644, allocations: 0 / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001848/0.3646, allocations: 53.53 kB / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.3646, allocations: 85.11 kB / 1.355 GB, free: 5.812 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.3648, allocations: 159.8 kB / 1.355 GB, free: 5.648 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.3648, allocations: 25.7 kB / 1.355 GB, free: 5.617 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.98e-05/0.3649, allocations: 112.3 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.047e-06/0.3649, allocations: 3.953 kB / 1.356 GB, free: 5.5 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.3649, allocations: 21.7 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.3651, allocations: 322.8 kB / 1.356 GB, free: 5.148 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.992e-05/0.3651, allocations: 4 kB / 1.356 GB, free: 5.145 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.862e-05/0.3651, allocations: 25.7 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.352e-05/0.3652, allocations: 25.72 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3652, allocations: 0 / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.662e-05/0.3653, allocations: 61.58 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3653, allocations: 11.94 kB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3653, allocations: 0 / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3653, allocations: 0 / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.3654, allocations: 4 kB / 1.356 GB, free: 5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.3654, allocations: 4 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.805e-05/0.3654, allocations: 3.953 kB / 1.356 GB, free: 4.992 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.3654, allocations: 4.062 kB / 1.356 GB, free: 4.988 MB / 1.045 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.245e-05/0.3655, allocations: 121.7 kB / 1.356 GB, free: 4.859 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.324e-05/0.3656, allocations: 11.89 kB / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.9e-05/0.3656, allocations: 15.8 kB / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3656, allocations: 0 / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3656, allocations: 0 / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3656, allocations: 4 kB / 1.356 GB, free: 4.824 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.366, allocations: 449.7 kB / 1.357 GB, free: 4.328 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.366, allocations: 0 / 1.357 GB, free: 4.328 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.864e-05/0.366, allocations: 4 kB / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.366, allocations: 0 / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.366, allocations: 0 / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.366, allocations: 0 / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3661, allocations: 0 / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.731e-05/0.3661, allocations: 93.88 kB / 1.357 GB, free: 4.211 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/0.3662, allocations: 3.953 kB / 1.357 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.3662, allocations: 7.984 kB / 1.357 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.949e-05/0.3662, allocations: 0 / 1.357 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.3662, allocations: 3.938 kB / 1.357 GB, free: 4.195 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.3662, allocations: 0 / 1.357 GB, free: 4.195 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001048/0.3663, allocations: 125.7 kB / 1.357 GB, free: 4.074 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3663, allocations: 0 / 1.357 GB, free: 4.074 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000197/0.3665, allocations: 12.03 kB / 1.357 GB, free: 4.062 MB / 1.045 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.0004604/0.367, allocations: 0.6093 MB / 1.357 GB, free: 3.422 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.616e-05/0.3671, allocations: 19.88 kB / 1.357 GB, free: 3.402 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3671, allocations: 8.156 kB / 1.357 GB, free: 3.395 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.638e-06/0.3671, allocations: 4 kB / 1.357 GB, free: 3.391 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.3673, allocations: 5.891 kB / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.3686, allocations: 1.326 MB / 1.359 GB, free: 1.961 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.3689, allocations: 0.7002 MB / 1.359 GB, free: 1.234 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.959e-05/0.3689, allocations: 4.438 kB / 1.359 GB, free: 1.23 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.3689, allocations: 27.42 kB / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.3689, allocations: 0 / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/0.3976, allocations: 1.705 MB / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.26, allocations: 8.422 kB / 1.361 GB, free: 15.62 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.26200503500013]