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.0009454/0.0009454, allocations: 80.55 kB / 19.96 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.0008977/0.0008977, allocations: 173.6 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.9462/0.9462, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.943/1.943, allocations: 389.5 MB / 0.6343 GB, free: 12.57 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.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 1.784e-06/1.784e-06, allocations: 0 / 1.001 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.196e-05, allocations: 5.094 kB / 1.001 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001508/0.00153, allocations: 0.7946 MB / 1.001 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0001118/0.001642, allocations: 47.72 kB / 1.001 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.874e-05/0.001691, allocations: 0 / 1.001 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 3.628e-05/0.001727, allocations: 7.922 kB / 1.001 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 7.086e-05/0.001798, allocations: 11.81 kB / 1.002 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 4.126e-05/0.001839, allocations: 23.98 kB / 1.002 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 9.745e-05/0.001937, allocations: 63.59 kB / 1.002 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.002074, allocations: 35.95 kB / 1.002 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 7.601e-05/0.00215, allocations: 35.84 kB / 1.002 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 6.036e-05/0.00221, allocations: 23.89 kB / 1.002 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.002232, allocations: 4 kB / 1.002 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 9.728e-06/0.002242, allocations: 8 kB / 1.002 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.002263, allocations: 11.94 kB / 1.002 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.002291, allocations: 19.92 kB / 1.002 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.0024, allocations: 75.75 kB / 1.002 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.002403, allocations: 7.938 kB / 1.002 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.353e-06/0.002404, allocations: 0 / 1.002 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.002409, allocations: 0 / 1.002 GB, free: 11.23 MB / 0.9167 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.0004017/0.002811, allocations: 302 kB / 1.002 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.002859, allocations: 9.344 kB / 1.002 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.198e-05/0.002901, allocations: 42.73 kB / 1.002 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.002927, allocations: 8.891 kB / 1.002 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.003096, allocations: 133.7 kB / 1.002 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.003106, allocations: 4.375 kB / 1.002 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.003117, allocations: 8.375 kB / 1.002 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.00325, allocations: 95.89 kB / 1.002 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.003259, allocations: 192 / 1.002 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.00327, allocations: 8.312 kB / 1.002 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.003278, allocations: 8.125 kB / 1.002 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.01e-05/0.003338, allocations: 35.92 kB / 1.002 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.003774, allocations: 395.8 kB / 1.003 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 4.98e-05/0.003823, allocations: 33.22 kB / 1.003 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.933e-05/0.003853, allocations: 21.81 kB / 1.003 GB, free: 10 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.271e-06/0.003859, allocations: 0 / 1.003 GB, free: 10 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.003877, allocations: 38.56 kB / 1.003 GB, free: 9.957 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.003878, allocations: 0 / 1.003 GB, free: 9.957 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.000138/0.004016, allocations: 53.58 kB / 1.003 GB, free: 9.898 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.00405, allocations: 81.05 kB / 1.003 GB, free: 9.801 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.004164, allocations: 161 kB / 1.003 GB, free: 9.637 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.004173, allocations: 25.7 kB / 1.003 GB, free: 9.605 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.004227, allocations: 116 kB / 1.003 GB, free: 9.488 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.913e-06/0.004234, allocations: 3.953 kB / 1.003 GB, free: 9.484 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.00426, allocations: 13.72 kB / 1.003 GB, free: 9.465 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.232e-05/0.004342, allocations: 319.1 kB / 1.004 GB, free: 9.145 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.004357, allocations: 12 kB / 1.004 GB, free: 9.133 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.07e-05/0.004378, allocations: 21.72 kB / 1.004 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.688e-05/0.004415, allocations: 29.64 kB / 1.004 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.004418, allocations: 0 / 1.004 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.058e-05/0.004478, allocations: 53.59 kB / 1.004 GB, free: 9.012 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.004491, allocations: 8 kB / 1.004 GB, free: 9.004 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.004496, allocations: 0 / 1.004 GB, free: 9.004 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.004509, allocations: 64 / 1.004 GB, free: 9.004 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.15e-05/0.004581, allocations: 19.92 kB / 1.004 GB, free: 8.984 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.004588, allocations: 4 kB / 1.004 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.005e-05/0.004608, allocations: 7.891 kB / 1.004 GB, free: 8.973 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.004613, allocations: 4 kB / 1.004 GB, free: 8.969 MB / 0.9167 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.703e-05/0.00467, allocations: 113.8 kB / 1.004 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.004692, allocations: 7.953 kB / 1.004 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.894e-05/0.004711, allocations: 3.812 kB / 1.004 GB, free: 8.836 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.004712, allocations: 0 / 1.004 GB, free: 8.836 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.004719, allocations: 11.92 kB / 1.004 GB, free: 8.824 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.004721, allocations: 0 / 1.004 GB, free: 8.824 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.004988, allocations: 449.8 kB / 1.004 GB, free: 8.328 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.004989, allocations: 0 / 1.004 GB, free: 8.328 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.485e-05/0.005004, allocations: 7.938 kB / 1.004 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.005006, allocations: 0 / 1.004 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.005011, allocations: 0 / 1.004 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.005014, allocations: 4 kB / 1.004 GB, free: 8.316 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.005015, allocations: 0 / 1.004 GB, free: 8.316 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.941e-05/0.005075, allocations: 78.7 kB / 1.004 GB, free: 8.219 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.005096, allocations: 11.89 kB / 1.004 GB, free: 8.207 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.005107, allocations: 4.094 kB / 1.004 GB, free: 8.203 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.147e-05/0.005118, allocations: 4.094 kB / 1.004 GB, free: 8.199 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.005137, allocations: 11.97 kB / 1.004 GB, free: 8.188 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/0.005139, allocations: 0 / 1.004 GB, free: 8.188 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.246e-05/0.005201, allocations: 121.8 kB / 1.005 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005201, allocations: 0 / 1.005 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001312/0.005333, allocations: 11.95 kB / 1.005 GB, free: 8.059 MB / 0.9167 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.0002663/0.005599, allocations: 0.6093 MB / 1.005 GB, free: 7.414 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.89e-05/0.005678, allocations: 24.02 kB / 1.005 GB, free: 7.391 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.00568, allocations: 0 / 1.005 GB, free: 7.391 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.296e-06/0.005688, allocations: 11.94 kB / 1.005 GB, free: 7.379 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.005812, allocations: 14 kB / 1.005 GB, free: 7.367 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.006863, allocations: 1.328 MB / 1.007 GB, free: 5.938 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.089e-05/0.006913, allocations: 79.56 kB / 1.007 GB, free: 5.84 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.026e-05/0.006944, allocations: 8.5 kB / 1.007 GB, free: 5.832 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.006989, allocations: 28.48 kB / 1.007 GB, free: 5.805 MB / 0.9167 GB Notification: Performance of SimCode: time 1.152e-06/0.00699, allocations: 0 / 1.007 GB, free: 5.805 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08258/0.08957, allocations: 2.226 MB / 1.009 GB, free: 3.719 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.438/7.528, allocations: 14.83 kB / 1.009 GB, free: 3.711 MB / 0.9167 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: 12.327846460044384]