Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001857/0.001857, allocations: 108 kB / 16.45 MB, free: 6.512 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.001555/0.001555, allocations: 212.2 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.592/1.592, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.299/3.299, allocations: 0.505 GB / 0.8066 GB, free: 23.09 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.To_gal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_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.002172/0.002172, allocations: 75.69 kB / 1.172 GB, free: 17.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3994, allocations: 180.2 MB / 1.348 GB, free: 9.926 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.003488/0.4029, allocations: 0.8237 MB / 1.349 GB, free: 9.105 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001792/0.4031, allocations: 47.78 kB / 1.349 GB, free: 9.059 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.053e-05/0.4032, allocations: 0 / 1.349 GB, free: 9.059 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.744e-05/0.4032, allocations: 7.875 kB / 1.349 GB, free: 9.051 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.4033, allocations: 7.875 kB / 1.349 GB, free: 9.043 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.114e-05/0.4034, allocations: 19.98 kB / 1.349 GB, free: 9.023 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.4036, allocations: 67.83 kB / 1.349 GB, free: 8.957 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.4038, allocations: 31.92 kB / 1.349 GB, free: 8.926 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.727e-05/0.4039, allocations: 27.86 kB / 1.349 GB, free: 8.898 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.984e-05/0.4039, allocations: 27.84 kB / 1.349 GB, free: 8.871 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.404, allocations: 8 kB / 1.349 GB, free: 8.863 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/0.404, allocations: 4 kB / 1.349 GB, free: 8.859 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.614e-05/0.404, allocations: 23.86 kB / 1.349 GB, free: 8.836 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.4041, allocations: 35.75 kB / 1.349 GB, free: 8.801 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.4042, allocations: 75.84 kB / 1.349 GB, free: 8.727 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4043, allocations: 0 / 1.349 GB, free: 8.727 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.013e-06/0.4043, allocations: 4 kB / 1.349 GB, free: 8.723 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.4043, allocations: 0 / 1.349 GB, free: 8.723 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.0006699/0.4049, allocations: 387.1 kB / 1.349 GB, free: 8.293 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/0.405, allocations: 15.92 kB / 1.349 GB, free: 8.277 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.281e-05/0.4051, allocations: 42.73 kB / 1.349 GB, free: 8.227 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.4051, allocations: 8.891 kB / 1.349 GB, free: 8.219 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.4054, allocations: 196.2 kB / 1.35 GB, free: 7.988 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.4054, allocations: 8.375 kB / 1.35 GB, free: 7.98 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.4055, allocations: 8.375 kB / 1.35 GB, free: 7.973 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.4057, allocations: 101.5 kB / 1.35 GB, free: 7.863 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.4057, allocations: 3.938 kB / 1.35 GB, free: 7.859 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.4059, allocations: 4 kB / 1.35 GB, free: 7.855 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.4059, allocations: 0 / 1.35 GB, free: 7.855 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.406, allocations: 35.98 kB / 1.35 GB, free: 7.82 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008588/0.4069, allocations: 436.7 kB / 1.35 GB, free: 7.34 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.853e-05/0.4069, allocations: 37.22 kB / 1.35 GB, free: 7.285 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.05e-05/0.407, allocations: 17.78 kB / 1.35 GB, free: 7.262 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.407, allocations: 3.984 kB / 1.35 GB, free: 7.258 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.407, allocations: 42.59 kB / 1.35 GB, free: 7.207 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.407, allocations: 0 / 1.35 GB, free: 7.207 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003204/0.4074, allocations: 53.53 kB / 1.35 GB, free: 7.148 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.4074, allocations: 77.11 kB / 1.35 GB, free: 7.055 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.4077, allocations: 161.7 kB / 1.351 GB, free: 6.891 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.4077, allocations: 25.7 kB / 1.351 GB, free: 6.859 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.145e-05/0.4078, allocations: 108 kB / 1.351 GB, free: 6.75 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.435e-06/0.4078, allocations: 8.203 kB / 1.351 GB, free: 6.742 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.4078, allocations: 21.72 kB / 1.351 GB, free: 6.715 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.408, allocations: 318.8 kB / 1.351 GB, free: 6.395 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.925e-05/0.408, allocations: 4 kB / 1.351 GB, free: 6.391 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.999e-05/0.408, allocations: 21.7 kB / 1.351 GB, free: 6.363 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.422e-05/0.4081, allocations: 25.66 kB / 1.351 GB, free: 6.332 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4081, allocations: 12 kB / 1.351 GB, free: 6.32 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001001/0.4082, allocations: 53.66 kB / 1.351 GB, free: 6.262 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4082, allocations: 7.938 kB / 1.351 GB, free: 6.254 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.4082, allocations: 3.984 kB / 1.351 GB, free: 6.25 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.4082, allocations: 4 kB / 1.351 GB, free: 6.246 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.4083, allocations: 4 kB / 1.351 GB, free: 6.242 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.4083, allocations: 3.938 kB / 1.351 GB, free: 6.238 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.382e-05/0.4083, allocations: 7.953 kB / 1.351 GB, free: 6.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.4083, allocations: 0 / 1.351 GB, free: 6.23 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.598e-05/0.4084, allocations: 117.9 kB / 1.351 GB, free: 6.105 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.4085, allocations: 11.89 kB / 1.351 GB, free: 6.094 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/0.4085, allocations: 15.86 kB / 1.351 GB, free: 6.07 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4085, allocations: 3.938 kB / 1.351 GB, free: 6.066 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4085, allocations: 96 / 1.351 GB, free: 6.066 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4085, allocations: 3.984 kB / 1.351 GB, free: 6.062 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004685/0.409, allocations: 478.7 kB / 1.352 GB, free: 5.531 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.409, allocations: 0 / 1.352 GB, free: 5.531 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.13e-05/0.409, allocations: 4 kB / 1.352 GB, free: 5.527 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.409, allocations: 0 / 1.352 GB, free: 5.527 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.409, allocations: 8 kB / 1.352 GB, free: 5.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.409, allocations: 0 / 1.352 GB, free: 5.52 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.409, allocations: 0 / 1.352 GB, free: 5.52 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.4091, allocations: 85.88 kB / 1.352 GB, free: 5.414 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.078e-05/0.4092, allocations: 89 kB / 1.352 GB, free: 5.309 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.4092, allocations: 3.984 kB / 1.352 GB, free: 5.305 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.312e-05/0.4092, allocations: 4 kB / 1.352 GB, free: 5.301 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.4093, allocations: 4 kB / 1.352 GB, free: 5.297 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.4093, allocations: 0 / 1.352 GB, free: 5.297 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000113/0.4094, allocations: 119.2 kB / 1.352 GB, free: 5.18 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4094, allocations: 3.938 kB / 1.352 GB, free: 5.176 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001941/0.4096, allocations: 8 kB / 1.352 GB, free: 5.168 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.0004621/0.41, allocations: 0.6171 MB / 1.353 GB, free: 4.52 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.828e-05/0.4101, allocations: 16 kB / 1.353 GB, free: 4.504 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4101, allocations: 160 / 1.353 GB, free: 4.504 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.285e-05/0.4101, allocations: 11.94 kB / 1.353 GB, free: 4.492 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.4103, allocations: 4 kB / 1.353 GB, free: 4.488 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.4118, allocations: 1.328 MB / 1.354 GB, free: 3.062 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.4122, allocations: 0.7002 MB / 1.355 GB, free: 2.336 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.081e-05/0.4122, allocations: 4.438 kB / 1.355 GB, free: 2.332 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.4123, allocations: 23.42 kB / 1.355 GB, free: 2.309 MB / 1.045 GB Notification: Performance of SimCode: time 2.8e-07/0.4123, allocations: 0 / 1.355 GB, free: 2.309 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.4391, allocations: 1.595 MB / 1.356 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/8.682, allocations: 3.094 kB / 1.356 GB, free: 0.8242 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_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_To_gal.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.715908943908289]