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.001417/0.001417, allocations: 102.8 kB / 16.45 MB, free: 6.395 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.001633/0.001633, allocations: 214.3 kB / 19.43 MB, free: 3.727 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.492/1.492, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.347/3.347, allocations: 0.505 GB / 0.8066 GB, free: 23.27 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.002065/0.002065, allocations: 73.98 kB / 1.172 GB, free: 17.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3486, allocations: 180.2 MB / 1.348 GB, free: 10 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002029/0.3507, allocations: 0.8296 MB / 1.349 GB, free: 9.172 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001119/0.3508, allocations: 39.84 kB / 1.349 GB, free: 9.133 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.648e-05/0.3508, allocations: 7.938 kB / 1.349 GB, free: 9.125 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.821e-05/0.3509, allocations: 3.938 kB / 1.349 GB, free: 9.121 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.944e-05/0.351, allocations: 15.86 kB / 1.349 GB, free: 9.105 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.64e-05/0.351, allocations: 15.98 kB / 1.349 GB, free: 9.09 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.3511, allocations: 67.77 kB / 1.349 GB, free: 9.023 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.3513, allocations: 31.92 kB / 1.349 GB, free: 8.992 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.556e-05/0.3513, allocations: 27.86 kB / 1.349 GB, free: 8.965 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.605e-05/0.3514, allocations: 23.86 kB / 1.349 GB, free: 8.941 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.3514, allocations: 8 kB / 1.349 GB, free: 8.934 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.055e-05/0.3514, allocations: 4 kB / 1.349 GB, free: 8.93 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.3514, allocations: 23.92 kB / 1.349 GB, free: 8.906 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.3515, allocations: 35.73 kB / 1.349 GB, free: 8.871 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.3516, allocations: 79.8 kB / 1.349 GB, free: 8.793 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3516, allocations: 0 / 1.349 GB, free: 8.793 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3516, allocations: 3.938 kB / 1.349 GB, free: 8.789 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.3516, allocations: 0 / 1.349 GB, free: 8.789 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.0004417/0.352, allocations: 387.1 kB / 1.349 GB, free: 8.359 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.3521, allocations: 15.98 kB / 1.349 GB, free: 8.344 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.915e-05/0.3521, allocations: 34.75 kB / 1.349 GB, free: 8.301 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.3522, allocations: 20.89 kB / 1.349 GB, free: 8.281 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.3524, allocations: 200.1 kB / 1.35 GB, free: 8.047 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3524, allocations: 4.375 kB / 1.35 GB, free: 8.043 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.3524, allocations: 8.375 kB / 1.35 GB, free: 8.035 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.3526, allocations: 87.86 kB / 1.35 GB, free: 7.938 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3526, allocations: 7.938 kB / 1.35 GB, free: 7.93 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3526, allocations: 4 kB / 1.35 GB, free: 7.926 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3526, allocations: 0 / 1.35 GB, free: 7.926 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.796e-05/0.3527, allocations: 43.92 kB / 1.35 GB, free: 7.883 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005555/0.3532, allocations: 432.6 kB / 1.35 GB, free: 7.406 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.506e-05/0.3533, allocations: 45.27 kB / 1.35 GB, free: 7.344 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.829e-05/0.3533, allocations: 21.84 kB / 1.35 GB, free: 7.316 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-06/0.3533, allocations: 0 / 1.35 GB, free: 7.316 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.3534, allocations: 34.56 kB / 1.35 GB, free: 7.273 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.3534, allocations: 0 / 1.35 GB, free: 7.273 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001686/0.3535, allocations: 57.52 kB / 1.35 GB, free: 7.211 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.3536, allocations: 81.11 kB / 1.35 GB, free: 7.113 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.3537, allocations: 160.7 kB / 1.351 GB, free: 6.949 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3537, allocations: 33.64 kB / 1.351 GB, free: 6.91 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.924e-05/0.3538, allocations: 100 kB / 1.351 GB, free: 6.809 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.3538, allocations: 7.938 kB / 1.351 GB, free: 6.801 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.3539, allocations: 21.66 kB / 1.351 GB, free: 6.773 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.354, allocations: 314.8 kB / 1.351 GB, free: 6.457 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.354, allocations: 7.984 kB / 1.351 GB, free: 6.449 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.866e-05/0.3541, allocations: 21.72 kB / 1.351 GB, free: 6.422 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.217e-05/0.3541, allocations: 25.72 kB / 1.351 GB, free: 6.391 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3541, allocations: 0 / 1.351 GB, free: 6.391 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.086e-05/0.3542, allocations: 61.58 kB / 1.351 GB, free: 6.324 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3542, allocations: 11.94 kB / 1.351 GB, free: 6.312 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3542, allocations: 0 / 1.351 GB, free: 6.312 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3542, allocations: 0 / 1.351 GB, free: 6.312 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.808e-05/0.3543, allocations: 4 kB / 1.351 GB, free: 6.309 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.3543, allocations: 8.062 kB / 1.351 GB, free: 6.301 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.978e-05/0.3543, allocations: 3.953 kB / 1.351 GB, free: 6.297 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.3543, allocations: 0 / 1.351 GB, free: 6.297 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 8.612e-05/0.3544, allocations: 125.7 kB / 1.351 GB, free: 6.164 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/0.3545, allocations: 11.98 kB / 1.351 GB, free: 6.152 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.3545, allocations: 15.86 kB / 1.351 GB, free: 6.129 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3545, allocations: 0 / 1.351 GB, free: 6.129 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3545, allocations: 0 / 1.351 GB, free: 6.129 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3545, allocations: 4 kB / 1.351 GB, free: 6.125 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/0.3549, allocations: 474.7 kB / 1.352 GB, free: 5.598 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3549, allocations: 0 / 1.352 GB, free: 5.598 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.693e-05/0.3549, allocations: 0 / 1.352 GB, free: 5.598 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.355, allocations: 7.984 kB / 1.352 GB, free: 5.59 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.355, allocations: 0 / 1.352 GB, free: 5.59 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.355, allocations: 0 / 1.352 GB, free: 5.59 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.355, allocations: 0 / 1.352 GB, free: 5.59 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.013e-05/0.3551, allocations: 85.95 kB / 1.352 GB, free: 5.484 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.158e-05/0.3551, allocations: 92.98 kB / 1.352 GB, free: 5.375 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.3551, allocations: 0 / 1.352 GB, free: 5.375 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.274e-05/0.3552, allocations: 4 kB / 1.352 GB, free: 5.371 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.3552, allocations: 3.938 kB / 1.352 GB, free: 5.367 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3552, allocations: 4 kB / 1.352 GB, free: 5.363 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001048/0.3553, allocations: 125.9 kB / 1.352 GB, free: 5.242 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3553, allocations: 0 / 1.352 GB, free: 5.242 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001932/0.3555, allocations: 8 kB / 1.352 GB, free: 5.234 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.0004173/0.3559, allocations: 0.6132 MB / 1.353 GB, free: 4.59 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.269e-05/0.356, allocations: 27.95 kB / 1.353 GB, free: 4.562 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.356, allocations: 0 / 1.353 GB, free: 4.562 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.251e-05/0.356, allocations: 4 kB / 1.353 GB, free: 4.559 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.3562, allocations: 10.5 kB / 1.353 GB, free: 4.551 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.3575, allocations: 1.33 MB / 1.354 GB, free: 3.121 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.3578, allocations: 0.6924 MB / 1.355 GB, free: 2.402 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.127e-05/0.3578, allocations: 8.422 kB / 1.355 GB, free: 2.395 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.3579, allocations: 19.44 kB / 1.355 GB, free: 2.375 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.3579, allocations: 0 / 1.355 GB, free: 2.375 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.3815, allocations: 1.594 MB / 1.356 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.421/8.802, allocations: 10.92 kB / 1.356 GB, free: 0.8867 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.827776850899681]