Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0006182/0.0006182, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 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.0007455/0.0007455, allocations: 215.3 kB / 23.03 MB, free: 2.969 MB / 13.93 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 0.9434/0.9434, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.956/1.956, allocations: 0.5045 GB / 0.8104 GB, free: 2.77 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.To_gal,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0008773/0.0008773, allocations: 67.89 kB / 1.177 GB, free: 12 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7629/0.7638, allocations: 180 MB / 1.352 GB, free: 1.723 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.0017/0.7655, allocations: 0.7991 MB / 1.353 GB, free: 0.9258 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0001082/0.7656, allocations: 47.78 kB / 1.353 GB, free: 0.8789 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.482e-05/0.7657, allocations: 0 / 1.353 GB, free: 0.8789 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.7657, allocations: 11.88 kB / 1.353 GB, free: 0.8672 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 7.535e-05/0.7658, allocations: 11.88 kB / 1.353 GB, free: 0.8555 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 3.972e-05/0.7658, allocations: 15.97 kB / 1.353 GB, free: 0.8398 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 9.546e-05/0.7659, allocations: 63.84 kB / 1.353 GB, free: 0.7773 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.766, allocations: 31.97 kB / 1.353 GB, free: 0.7461 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 6.406e-05/0.7661, allocations: 23.86 kB / 1.353 GB, free: 0.7227 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 4.238e-05/0.7661, allocations: 27.8 kB / 1.353 GB, free: 0.6953 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.7662, allocations: 8 kB / 1.353 GB, free: 0.6875 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 7.744e-06/0.7662, allocations: 4 kB / 1.353 GB, free: 0.6836 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.7662, allocations: 15.92 kB / 1.353 GB, free: 0.668 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.7662, allocations: 27.88 kB / 1.354 GB, free: 0.6406 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.7663, allocations: 77.88 kB / 1.354 GB, free: 0.5664 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7663, allocations: 7.875 kB / 1.354 GB, free: 0.5586 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.744e-06/0.7663, allocations: 0 / 1.354 GB, free: 0.5586 MB / 1.026 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.7663, allocations: 0 / 1.354 GB, free: 0.5586 MB / 1.026 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.0003507/0.7667, allocations: 307.7 kB / 1.354 GB, free: 232 kB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.7667, allocations: 8.922 kB / 1.354 GB, free: 224 kB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.398e-05/0.7668, allocations: 42.73 kB / 1.354 GB, free: 172 kB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.255e-05/0.7668, allocations: 8.891 kB / 1.354 GB, free: 164 kB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.7669, allocations: 130.4 kB / 1.354 GB, free: 8 kB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002958/0.7672, allocations: 16.36 kB / 1.354 GB, free: 15.99 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.7672, allocations: 4.375 kB / 1.354 GB, free: 15.98 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.7674, allocations: 95.89 kB / 1.354 GB, free: 15.88 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.7674, allocations: 3.938 kB / 1.354 GB, free: 15.88 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.7674, allocations: 4 kB / 1.354 GB, free: 15.87 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.7674, allocations: 4 kB / 1.354 GB, free: 15.87 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.918e-05/0.7675, allocations: 39.86 kB / 1.354 GB, free: 15.83 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.7679, allocations: 395.7 kB / 1.355 GB, free: 15.4 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.143e-05/0.7679, allocations: 41.19 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.768, allocations: 21.84 kB / 1.355 GB, free: 15.31 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.768, allocations: 0 / 1.355 GB, free: 15.31 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.768, allocations: 38.55 kB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.768, allocations: 4 kB / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0001353/0.7681, allocations: 53.53 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.7682, allocations: 77.11 kB / 1.355 GB, free: 15.11 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.7683, allocations: 157.3 kB / 1.355 GB, free: 14.95 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.7683, allocations: 29.7 kB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.7683, allocations: 104 kB / 1.355 GB, free: 14.8 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 7.885e-06/0.7683, allocations: 12.2 kB / 1.355 GB, free: 14.79 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.7684, allocations: 17.72 kB / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.244e-05/0.7684, allocations: 318.8 kB / 1.355 GB, free: 14.45 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.252e-05/0.7685, allocations: 4 kB / 1.355 GB, free: 14.45 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.739e-05/0.7685, allocations: 21.7 kB / 1.355 GB, free: 14.42 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.126e-05/0.7685, allocations: 29.66 kB / 1.355 GB, free: 14.38 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7685, allocations: 7.938 kB / 1.355 GB, free: 14.38 MB / 1.042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.117e-05/0.7686, allocations: 57.59 kB / 1.356 GB, free: 14.31 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.7686, allocations: 16 kB / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.7686, allocations: 0 / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.7686, allocations: 0 / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.871e-05/0.7686, allocations: 7.984 kB / 1.356 GB, free: 14.29 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.7686, allocations: 7.984 kB / 1.356 GB, free: 14.28 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.711e-05/0.7687, allocations: 7.891 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-06/0.7687, allocations: 0 / 1.356 GB, free: 14.27 MB / 1.042 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 5.347e-05/0.7687, allocations: 114.4 kB / 1.356 GB, free: 14.15 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.7687, allocations: 11.89 kB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.11e-05/0.7688, allocations: 15.89 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.7688, allocations: 7.984 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.7688, allocations: 4 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.7688, allocations: 0 / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.769, allocations: 433.9 kB / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.769, allocations: 0 / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.656e-06/0.769, allocations: 4 kB / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.769, allocations: 0 / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/0.769, allocations: 0 / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.769, allocations: 0 / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.769, allocations: 4 kB / 1.356 GB, free: 13.62 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.423e-05/0.7691, allocations: 93.81 kB / 1.356 GB, free: 13.51 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.7691, allocations: 7.953 kB / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-06/0.7691, allocations: 0 / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.327e-06/0.7691, allocations: 0 / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.7691, allocations: 7.984 kB / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.02e-07/0.7691, allocations: 0 / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.497e-05/0.7692, allocations: 119.2 kB / 1.356 GB, free: 13.38 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7692, allocations: 0 / 1.356 GB, free: 13.38 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001212/0.7693, allocations: 12 kB / 1.356 GB, free: 13.37 MB / 1.042 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.0002302/0.7695, allocations: 0.6171 MB / 1.357 GB, free: 12.72 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 6.885e-05/0.7696, allocations: 16 kB / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.7696, allocations: 0 / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.893e-06/0.7696, allocations: 11.94 kB / 1.357 GB, free: 12.69 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.7697, allocations: 8 kB / 1.357 GB, free: 12.68 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008629/0.7706, allocations: 1.33 MB / 1.358 GB, free: 11.25 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.044e-05/0.7707, allocations: 83.59 kB / 1.358 GB, free: 11.15 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.315e-05/0.7707, allocations: 8.422 kB / 1.358 GB, free: 11.14 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.7707, allocations: 27.42 kB / 1.358 GB, free: 11.12 MB / 1.042 GB Notification: Performance of SimCode: time 6.61e-07/0.7707, allocations: 0 / 1.358 GB, free: 11.12 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09076/0.8615, allocations: 2.092 MB / 1.36 GB, free: 9.168 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.914/7.776, allocations: 5.281 kB / 1.36 GB, free: 9.168 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_fmpy_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.571383902803063]