Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.001643/0.001643, allocations: 107.6 kB / 16.45 MB, free: 6.508 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.001501/0.001501, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.496/1.496, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.241/3.241, allocations: 0.49 GB / 0.7916 GB, free: 33.52 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.From_Btu,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",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.002072/0.002072, allocations: 68.83 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3936, allocations: 176.1 MB / 1.321 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002475/0.3961, allocations: 0.8275 MB / 1.322 GB, free: 2.539 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001167/0.3962, allocations: 39.78 kB / 1.322 GB, free: 2.5 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.689e-05/0.3963, allocations: 4 kB / 1.322 GB, free: 2.496 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.433e-05/0.3963, allocations: 7.875 kB / 1.322 GB, free: 2.488 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.164e-05/0.3964, allocations: 15.81 kB / 1.322 GB, free: 2.473 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.488e-05/0.3965, allocations: 23.97 kB / 1.322 GB, free: 2.449 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.3966, allocations: 63.83 kB / 1.322 GB, free: 2.387 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.3968, allocations: 31.92 kB / 1.322 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.274e-05/0.3968, allocations: 23.86 kB / 1.322 GB, free: 2.332 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.243e-05/0.3969, allocations: 35.8 kB / 1.322 GB, free: 2.297 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.3969, allocations: 4 kB / 1.322 GB, free: 2.293 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.3969, allocations: 8 kB / 1.322 GB, free: 2.285 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.3969, allocations: 11.92 kB / 1.322 GB, free: 2.273 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.3971, allocations: 35.75 kB / 1.322 GB, free: 2.238 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.3973, allocations: 83.84 kB / 1.322 GB, free: 2.156 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.3973, allocations: 0 / 1.322 GB, free: 2.156 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3973, allocations: 0 / 1.322 GB, free: 2.156 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.3973, allocations: 4 kB / 1.322 GB, free: 2.152 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.0005479/0.3978, allocations: 379.1 kB / 1.322 GB, free: 1.73 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.3979, allocations: 19.92 kB / 1.322 GB, free: 1.711 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.825e-05/0.3979, allocations: 38.73 kB / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.398, allocations: 12.89 kB / 1.322 GB, free: 1.652 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.3982, allocations: 188.3 kB / 1.323 GB, free: 1.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.3982, allocations: 12.38 kB / 1.323 GB, free: 1.418 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.3983, allocations: 4.375 kB / 1.323 GB, free: 1.414 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.3984, allocations: 103.8 kB / 1.323 GB, free: 1.301 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3985, allocations: 3.938 kB / 1.323 GB, free: 1.297 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.3985, allocations: 4 kB / 1.323 GB, free: 1.293 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.3985, allocations: 0 / 1.323 GB, free: 1.293 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.536e-05/0.3986, allocations: 31.98 kB / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006056/0.3992, allocations: 440.7 kB / 1.323 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.612e-05/0.3992, allocations: 37.16 kB / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.166e-05/0.3993, allocations: 25.88 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.3993, allocations: 3.984 kB / 1.323 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.3993, allocations: 34.56 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.3993, allocations: 0 / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001815/0.3995, allocations: 57.48 kB / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.3995, allocations: 81.11 kB / 1.323 GB, free: 496 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.3997, allocations: 161.3 kB / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.3997, allocations: 29.64 kB / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.863e-05/0.3998, allocations: 108.3 kB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.3998, allocations: 7.953 kB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.4, allocations: 13.72 kB / 1.324 GB, free: 152 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.4001, allocations: 322.8 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/0.4002, allocations: 8 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.014e-05/0.4002, allocations: 21.7 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.168e-05/0.4002, allocations: 33.66 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4002, allocations: 0 / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.44e-05/0.4003, allocations: 49.66 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.4004, allocations: 11.94 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4004, allocations: 7.922 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.4004, allocations: 0 / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.345e-05/0.4004, allocations: 4 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.4004, allocations: 4 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.203e-05/0.4005, allocations: 7.953 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.4005, allocations: 4.062 kB / 1.324 GB, free: 15.66 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 8.954e-05/0.4006, allocations: 116 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.4006, allocations: 11.89 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.4007, allocations: 11.86 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.4007, allocations: 0 / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4007, allocations: 0 / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.4007, allocations: 4 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004718/0.4011, allocations: 474.8 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4011, allocations: 0 / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.709e-05/0.4012, allocations: 0 / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4012, allocations: 4 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.4012, allocations: 0 / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4012, allocations: 0 / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4012, allocations: 0 / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.4013, allocations: 89.83 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.969e-05/0.4013, allocations: 97 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.4014, allocations: 4.078 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.043e-05/0.4014, allocations: 4 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.4014, allocations: 3.984 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.4014, allocations: 3.938 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001119/0.4015, allocations: 121.1 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4015, allocations: 0 / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002041/0.4017, allocations: 12.03 kB / 1.325 GB, free: 14.61 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.0005687/0.4023, allocations: 0.6171 MB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.137e-05/0.4024, allocations: 12.09 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4024, allocations: 4.062 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.505e-05/0.4024, allocations: 11.94 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.4025, allocations: 7.938 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.4039, allocations: 1.326 MB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.4043, allocations: 0.7001 MB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.912e-05/0.4043, allocations: 4.438 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.4044, allocations: 27.42 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.4044, allocations: 0 / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.4304, allocations: 1.582 MB / 1.329 GB, free: 10.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.374/8.804, allocations: 15.36 kB / 1.329 GB, free: 10.23 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_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_From_Btu.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.675973156001419]