Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0009861/0.0009861, 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.001055/0.001055, allocations: 214.8 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 1/1, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.948/1.948, allocations: 0.5045 GB / 0.8104 GB, free: 2.781 MB / 0.6511 GB " [Timeout remaining time 178] 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.From_gal,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.89 kB / 1.177 GB, free: 12 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7375/0.7387, allocations: 180 MB / 1.352 GB, free: 1.68 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001668/0.7404, allocations: 0.7914 MB / 1.353 GB, free: 0.8906 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0001056/0.7405, allocations: 39.8 kB / 1.353 GB, free: 0.8516 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.073e-05/0.7405, allocations: 0 / 1.353 GB, free: 0.8516 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 4.089e-05/0.7406, allocations: 15.86 kB / 1.353 GB, free: 0.8359 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 8.394e-05/0.7406, allocations: 15.86 kB / 1.353 GB, free: 0.8203 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 4.309e-05/0.7407, allocations: 15.98 kB / 1.353 GB, free: 0.8047 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.7408, allocations: 59.84 kB / 1.353 GB, free: 0.7461 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.7409, allocations: 23.98 kB / 1.353 GB, free: 0.7227 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 5.761e-05/0.741, allocations: 27.86 kB / 1.353 GB, free: 0.6953 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 6.009e-05/0.741, allocations: 27.78 kB / 1.353 GB, free: 0.668 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.7411, allocations: 8 kB / 1.353 GB, free: 0.6602 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-06/0.7411, allocations: 11.94 kB / 1.353 GB, free: 0.6484 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.7411, allocations: 12 kB / 1.353 GB, free: 0.6367 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/0.7411, allocations: 31.8 kB / 1.354 GB, free: 0.6055 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.7412, allocations: 73.89 kB / 1.354 GB, free: 0.5352 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7413, allocations: 0 / 1.354 GB, free: 0.5352 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7413, allocations: 0 / 1.354 GB, free: 0.5352 MB / 1.026 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.7413, allocations: 4 kB / 1.354 GB, free: 0.5312 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.0003766/0.7416, allocations: 311.6 kB / 1.354 GB, free: 200 kB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.7417, allocations: 8.922 kB / 1.354 GB, free: 192 kB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.181e-05/0.7417, allocations: 38.75 kB / 1.354 GB, free: 144 kB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.25e-05/0.7417, allocations: 12.89 kB / 1.354 GB, free: 132 kB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.7419, allocations: 134.6 kB / 1.354 GB, free: 15.97 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.7419, allocations: 12.12 kB / 1.354 GB, free: 15.96 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.7419, allocations: 8.359 kB / 1.354 GB, free: 15.95 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.7421, allocations: 102.1 kB / 1.354 GB, free: 15.84 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.7421, allocations: 3.938 kB / 1.354 GB, free: 15.84 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.7421, allocations: 4 kB / 1.354 GB, free: 15.84 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.7421, allocations: 4 kB / 1.354 GB, free: 15.83 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.171e-05/0.7422, allocations: 31.98 kB / 1.354 GB, free: 15.8 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.7426, allocations: 391.8 kB / 1.355 GB, free: 15.37 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.033e-05/0.7426, allocations: 41.14 kB / 1.355 GB, free: 15.31 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.708e-05/0.7427, allocations: 29.81 kB / 1.355 GB, free: 15.28 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.118e-06/0.7427, allocations: 0 / 1.355 GB, free: 15.28 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.7427, allocations: 30.56 kB / 1.355 GB, free: 15.24 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.7427, allocations: 7.938 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0001655/0.7429, allocations: 61.52 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.7429, allocations: 77.11 kB / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.743, allocations: 161.4 kB / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.743, allocations: 29.95 kB / 1.355 GB, free: 14.87 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.7431, allocations: 104 kB / 1.355 GB, free: 14.76 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 9.438e-06/0.7431, allocations: 11.94 kB / 1.355 GB, free: 14.75 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.7431, allocations: 17.72 kB / 1.355 GB, free: 14.73 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.53e-05/0.7432, allocations: 314.8 kB / 1.355 GB, free: 14.41 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.7432, allocations: 7.984 kB / 1.355 GB, free: 14.4 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.882e-05/0.7432, allocations: 17.72 kB / 1.355 GB, free: 14.38 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.558e-05/0.7433, allocations: 29.66 kB / 1.355 GB, free: 14.34 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.7433, allocations: 0 / 1.355 GB, free: 14.34 MB / 1.042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.382e-05/0.7433, allocations: 61.64 kB / 1.356 GB, free: 14.28 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.7434, allocations: 15.88 kB / 1.356 GB, free: 14.26 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.7434, allocations: 0 / 1.356 GB, free: 14.26 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.7434, allocations: 0 / 1.356 GB, free: 14.26 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.151e-05/0.7434, allocations: 4 kB / 1.356 GB, free: 14.26 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.7434, allocations: 4 kB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.335e-05/0.7435, allocations: 7.891 kB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.7435, allocations: 0 / 1.356 GB, free: 14.25 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 6.831e-05/0.7435, allocations: 114.4 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.7436, allocations: 15.94 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.068e-05/0.7436, allocations: 15.81 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.7436, allocations: 0 / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.7436, allocations: 4 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.7436, allocations: 0 / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.7439, allocations: 433.9 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.7439, allocations: 0 / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-05/0.7439, allocations: 4 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.7439, allocations: 3.984 kB / 1.356 GB, free: 13.6 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.7439, allocations: 0 / 1.356 GB, free: 13.6 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.7439, allocations: 4 kB / 1.356 GB, free: 13.6 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.7439, allocations: 8 kB / 1.356 GB, free: 13.59 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.508e-05/0.744, allocations: 81.83 kB / 1.356 GB, free: 13.49 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.744, allocations: 15.94 kB / 1.356 GB, free: 13.47 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.744, allocations: 0 / 1.356 GB, free: 13.47 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.025e-05/0.744, allocations: 0 / 1.356 GB, free: 13.47 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.7441, allocations: 4 kB / 1.356 GB, free: 13.47 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.7441, allocations: 0 / 1.356 GB, free: 13.47 MB / 1.042 GB Notification: Performance of sorting global known variables: time 6.215e-05/0.7441, allocations: 119.2 kB / 1.356 GB, free: 13.35 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7441, allocations: 0 / 1.356 GB, free: 13.35 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001283/0.7443, allocations: 15.94 kB / 1.356 GB, free: 13.34 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.000279/0.7445, allocations: 0.6171 MB / 1.357 GB, free: 12.69 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 8.215e-05/0.7446, allocations: 16 kB / 1.357 GB, free: 12.67 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7446, allocations: 0 / 1.357 GB, free: 12.67 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 9.267e-06/0.7446, allocations: 15.92 kB / 1.357 GB, free: 12.66 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.7448, allocations: 8 kB / 1.357 GB, free: 12.65 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009482/0.7457, allocations: 1.33 MB / 1.358 GB, free: 11.22 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.669e-05/0.7457, allocations: 79.27 kB / 1.358 GB, free: 11.12 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.029e-05/0.7458, allocations: 12.41 kB / 1.358 GB, free: 11.11 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.7458, allocations: 23.44 kB / 1.358 GB, free: 11.09 MB / 1.042 GB Notification: Performance of SimCode: time 6.91e-07/0.7458, allocations: 0 / 1.358 GB, free: 11.09 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08303/0.8289, allocations: 2.096 MB / 1.36 GB, free: 9.137 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.464/8.292, allocations: 6.797 kB / 1.36 GB, free: 9.133 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_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_From_gal.fmu) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.121782119385898]