Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.001792/0.001792, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002274/0.002274, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.636/1.636, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.34/3.34, allocations: 0.49 GB / 0.7916 GB, free: 33.63 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_gal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",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.001997/0.001997, allocations: 64.06 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3915, allocations: 176.1 MB / 1.321 GB, free: 3.301 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002552/0.394, allocations: 0.8233 MB / 1.322 GB, free: 2.484 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001304/0.3942, allocations: 39.8 kB / 1.322 GB, free: 2.445 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.05e-05/0.3942, allocations: 4 kB / 1.322 GB, free: 2.441 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.647e-05/0.3943, allocations: 11.86 kB / 1.322 GB, free: 2.43 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.909e-05/0.3944, allocations: 7.875 kB / 1.322 GB, free: 2.422 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.783e-05/0.3944, allocations: 19.98 kB / 1.322 GB, free: 2.402 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.3946, allocations: 67.77 kB / 1.322 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.3947, allocations: 39.91 kB / 1.322 GB, free: 2.297 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.457e-05/0.3948, allocations: 19.88 kB / 1.322 GB, free: 2.277 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.665e-05/0.3949, allocations: 31.78 kB / 1.322 GB, free: 2.246 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.3949, allocations: 4 kB / 1.322 GB, free: 2.242 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.137e-05/0.3949, allocations: 11.94 kB / 1.322 GB, free: 2.23 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.3949, allocations: 8 kB / 1.322 GB, free: 2.223 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.266e-05/0.395, allocations: 43.73 kB / 1.322 GB, free: 2.18 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.3951, allocations: 79.86 kB / 1.322 GB, free: 2.102 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3951, allocations: 0 / 1.322 GB, free: 2.102 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3951, allocations: 0 / 1.322 GB, free: 2.102 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.3951, allocations: 0 / 1.322 GB, free: 2.102 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.0005209/0.3956, allocations: 387.1 kB / 1.322 GB, free: 1.672 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.3957, allocations: 15.92 kB / 1.322 GB, free: 1.656 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.749e-05/0.3957, allocations: 42.73 kB / 1.322 GB, free: 1.605 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.3958, allocations: 8.891 kB / 1.322 GB, free: 1.598 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.396, allocations: 192.3 kB / 1.323 GB, free: 1.371 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.396, allocations: 8.375 kB / 1.323 GB, free: 1.363 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.396, allocations: 4.375 kB / 1.323 GB, free: 1.359 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.3962, allocations: 99.8 kB / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.3962, allocations: 3.938 kB / 1.323 GB, free: 1.246 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3962, allocations: 0 / 1.323 GB, free: 1.246 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3962, allocations: 4 kB / 1.323 GB, free: 1.242 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.596e-05/0.3963, allocations: 39.97 kB / 1.323 GB, free: 1.203 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/0.3969, allocations: 440.7 kB / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.441e-05/0.397, allocations: 41.2 kB / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.397, allocations: 21.81 kB / 1.323 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.397, allocations: 4 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.397, allocations: 34.55 kB / 1.323 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.397, allocations: 0 / 1.323 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001795/0.3972, allocations: 61.48 kB / 1.323 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.3973, allocations: 77.11 kB / 1.323 GB, free: 436 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.3974, allocations: 164.7 kB / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.3974, allocations: 29.7 kB / 1.324 GB, free: 228 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.3976, allocations: 104 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.182e-05/0.3976, allocations: 7.953 kB / 1.324 GB, free: 112 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.3976, allocations: 13.72 kB / 1.324 GB, free: 92 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.3978, allocations: 322.8 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.108e-05/0.3978, allocations: 8 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.584e-05/0.3978, allocations: 17.66 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.092e-05/0.3979, allocations: 37.64 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3979, allocations: 0 / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.492e-05/0.398, allocations: 53.66 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.398, allocations: 7.938 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.398, allocations: 3.938 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.398, allocations: 0 / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.899e-05/0.3981, allocations: 11.98 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3981, allocations: 3.984 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.1e-05/0.3981, allocations: 8.016 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.3981, allocations: 4 kB / 1.324 GB, free: 15.59 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 0.0001026/0.3982, allocations: 113.8 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.3983, allocations: 11.89 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/0.3983, allocations: 7.875 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.3983, allocations: 7.984 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3983, allocations: 0 / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3983, allocations: 0 / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004823/0.3988, allocations: 474.8 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3988, allocations: 0 / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.019e-05/0.3988, allocations: 4 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3988, allocations: 0 / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.3988, allocations: 0 / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3988, allocations: 0 / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.3988, allocations: 4 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.399, allocations: 89.83 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.333e-05/0.399, allocations: 97 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.399, allocations: 0 / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.023e-05/0.3991, allocations: 0 / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.3991, allocations: 7.922 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.3991, allocations: 4 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001052/0.3992, allocations: 117.3 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3992, allocations: 8.031 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001862/0.3994, allocations: 4 kB / 1.325 GB, free: 14.55 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.0004721/0.3998, allocations: 0.6171 MB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.485e-05/0.3999, allocations: 16.03 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3999, allocations: 4 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.376e-05/0.3999, allocations: 7.938 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.4001, allocations: 4 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.4014, allocations: 1.332 MB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.4018, allocations: 0.704 MB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.065e-05/0.4018, allocations: 4.438 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.4019, allocations: 27.42 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4019, allocations: 0 / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.4272, allocations: 1.581 MB / 1.329 GB, free: 10.19 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.277/8.704, allocations: 7.922 kB / 1.329 GB, free: 10.18 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_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_gal.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.871420951094478]