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.0008807/0.0008807, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.001517/0.001517, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.9189/0.9189, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.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.908/1.908, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 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 2.054e-06/2.054e-06, allocations: 0 / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.471e-05, allocations: 2.281 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001544/0.001569, allocations: 0.8016 MB / 1.001 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001099/0.001679, allocations: 39.78 kB / 1.001 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.086e-05/0.001729, allocations: 0 / 1.001 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.001763, allocations: 11.81 kB / 1.001 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.74e-05/0.00184, allocations: 15.92 kB / 1.002 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.879e-05/0.001879, allocations: 23.97 kB / 1.002 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.151e-05/0.00197, allocations: 55.84 kB / 1.002 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.002095, allocations: 27.98 kB / 1.002 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.445e-05/0.00219, allocations: 43.83 kB / 1.002 GB, free: 12.49 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.423e-05/0.002234, allocations: 19.91 kB / 1.002 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.002256, allocations: 8 kB / 1.002 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.614e-06/0.002263, allocations: 4 kB / 1.002 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.002284, allocations: 11.94 kB / 1.002 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.002318, allocations: 31.91 kB / 1.002 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.002431, allocations: 75.62 kB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.002433, allocations: 4 kB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.112e-06/0.002435, allocations: 0 / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.00244, allocations: 0 / 1.002 GB, free: 12.34 MB / 0.9636 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.0007459/0.003186, allocations: 302 kB / 1.002 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.00323, allocations: 13.34 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.003269, allocations: 38.73 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.003295, allocations: 8.891 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.003475, allocations: 141.5 kB / 1.002 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.003487, allocations: 4.375 kB / 1.002 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.003499, allocations: 8.375 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.003635, allocations: 95.86 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.003645, allocations: 8.109 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.003655, allocations: 4.375 kB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.003662, allocations: 8.125 kB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.282e-05/0.003725, allocations: 35.92 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.004157, allocations: 391.8 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.72e-05/0.004224, allocations: 41.19 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/0.004255, allocations: 13.84 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.004264, allocations: 8 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.004284, allocations: 38.55 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.803e-06/0.004286, allocations: 0 / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001613/0.004448, allocations: 53.59 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.004494, allocations: 81.05 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.004622, allocations: 156.5 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.004635, allocations: 29.7 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.004695, allocations: 104 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.955e-06/0.004703, allocations: 7.891 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.004733, allocations: 17.97 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.194e-05/0.004825, allocations: 326.8 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.004842, allocations: 4 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.327e-05/0.004865, allocations: 21.66 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.409e-05/0.004909, allocations: 25.7 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.004913, allocations: 4 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.278e-05/0.004986, allocations: 57.59 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.005004, allocations: 4 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.005012, allocations: 4 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.005036, allocations: 8.062 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.152e-05/0.005118, allocations: 11.92 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.005124, allocations: 0 / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.064e-05/0.005145, allocations: 7.953 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.005149, allocations: 0 / 1.004 GB, free: 10.07 MB / 0.9636 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 6.601e-05/0.005215, allocations: 116.5 kB / 1.004 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.005237, allocations: 11.89 kB / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.005262, allocations: 11.81 kB / 1.004 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.005266, allocations: 3.984 kB / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.005272, allocations: 3.938 kB / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.005276, allocations: 4 kB / 1.004 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.005583, allocations: 433.9 kB / 1.004 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.005584, allocations: 0 / 1.004 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.639e-05/0.0056, allocations: 7.938 kB / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.005603, allocations: 0 / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.005609, allocations: 7.875 kB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.005611, allocations: 0 / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.005613, allocations: 0 / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.593e-05/0.005688, allocations: 78.77 kB / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.005727, allocations: 19.94 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.005741, allocations: 4 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.116e-05/0.005752, allocations: 0 / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.945e-05/0.005772, allocations: 7.984 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.005774, allocations: 0 / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.861e-05/0.005842, allocations: 119.2 kB / 1.005 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005843, allocations: 0 / 1.005 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000137/0.00598, allocations: 11.94 kB / 1.005 GB, free: 9.156 MB / 0.9636 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.0003376/0.006317, allocations: 0.6093 MB / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.00642, allocations: 27.95 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.006422, allocations: 0 / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.623e-06/0.006429, allocations: 4 kB / 1.005 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.006579, allocations: 4 kB / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.007746, allocations: 1.344 MB / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.258e-05/0.007809, allocations: 83.56 kB / 1.007 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.772e-05/0.007847, allocations: 12.56 kB / 1.007 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.007899, allocations: 24.48 kB / 1.007 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of SimCode: time 1.102e-06/0.007901, allocations: 0 / 1.007 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0925/0.1004, allocations: 2.226 MB / 1.009 GB, free: 4.805 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.335/7.436, allocations: 3.938 kB / 1.009 GB, free: 4.801 MB / 0.9636 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.185805592685938]