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.0008296/0.0008296, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001113/0.001113, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8697/0.8697, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.722/1.722, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.826e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001492/0.001511, allocations: 0.7791 MB / 1 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001064/0.001617, allocations: 51.77 kB / 1 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.224e-05/0.001659, allocations: 3.938 kB / 1 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.001693, allocations: 7.875 kB / 1 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.107e-05/0.001764, allocations: 15.86 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.564e-05/0.0018, allocations: 15.98 kB / 1.001 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.716e-05/0.001897, allocations: 67.77 kB / 1.001 GB, free: 12.53 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.002011, allocations: 27.98 kB / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.687e-05/0.002088, allocations: 43.83 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.712e-05/0.002125, allocations: 15.92 kB / 1.001 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.002146, allocations: 12 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.171e-06/0.002153, allocations: 4 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.002171, allocations: 19.91 kB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.002197, allocations: 15.94 kB / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.885e-05/0.002296, allocations: 75.69 kB / 1.001 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.002298, allocations: 0 / 1.001 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.353e-06/0.0023, allocations: 0 / 1.001 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.002304, allocations: 0 / 1.001 GB, free: 12.32 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.0003298/0.002634, allocations: 310 kB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.002672, allocations: 8.75 kB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.185e-05/0.002704, allocations: 42.75 kB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.187e-05/0.002726, allocations: 8.891 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.002876, allocations: 137.6 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-06/0.002885, allocations: 4.375 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.002895, allocations: 8.375 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.003015, allocations: 97.34 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.003022, allocations: 4.188 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.003031, allocations: 4.375 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.003039, allocations: 4.125 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.001e-05/0.003099, allocations: 39.97 kB / 1.001 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.003494, allocations: 395.8 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.996e-05/0.003544, allocations: 45.14 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.003573, allocations: 13.78 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/0.00358, allocations: 0 / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.003601, allocations: 42.59 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.003602, allocations: 0 / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001457/0.003747, allocations: 49.59 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.003785, allocations: 89.28 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.003899, allocations: 157.6 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.003909, allocations: 29.7 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.00396, allocations: 104 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.815e-06/0.003968, allocations: 11.83 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.003996, allocations: 21.7 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.61e-05/0.004072, allocations: 318.8 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.004086, allocations: 7.984 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.81e-05/0.004104, allocations: 17.72 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.459e-05/0.004139, allocations: 25.66 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.004141, allocations: 4 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.884e-05/0.0042, allocations: 61.64 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.004212, allocations: 4 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.004217, allocations: 0 / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.004229, allocations: 0 / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.501e-05/0.004284, allocations: 11.94 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.00429, allocations: 3.938 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.036e-05/0.00431, allocations: 7.953 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.004315, allocations: 0 / 1.003 GB, free: 10.04 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 5.899e-05/0.004374, allocations: 117.9 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.004396, allocations: 7.953 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.009e-05/0.004416, allocations: 15.8 kB / 1.003 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.004418, allocations: 4 kB / 1.003 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.004424, allocations: 3.938 kB / 1.003 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.004426, allocations: 0 / 1.003 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/0.004705, allocations: 429.9 kB / 1.003 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.004708, allocations: 4 kB / 1.003 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.177e-05/0.004719, allocations: 3.938 kB / 1.003 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.004722, allocations: 4 kB / 1.003 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.004728, allocations: 8 kB / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.00473, allocations: 3.984 kB / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.004731, allocations: 0 / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.932e-05/0.00479, allocations: 78.67 kB / 1.003 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.004812, allocations: 19.83 kB / 1.003 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.004823, allocations: 4 kB / 1.003 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.009e-05/0.004833, allocations: 0 / 1.003 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.126e-05/0.004844, allocations: 0 / 1.003 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.004848, allocations: 4 kB / 1.003 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.709e-05/0.004905, allocations: 121.5 kB / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004905, allocations: 4.031 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001268/0.005032, allocations: 7.938 kB / 1.004 GB, free: 9.129 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.00024/0.005272, allocations: 0.6171 MB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.282e-05/0.005345, allocations: 12 kB / 1.004 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.005347, allocations: 0 / 1.004 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.514e-06/0.005354, allocations: 7.938 kB / 1.004 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.005481, allocations: 18.16 kB / 1.004 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008701/0.006351, allocations: 1.343 MB / 1.006 GB, free: 7 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.578e-05/0.006397, allocations: 71.33 kB / 1.006 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.23e-05/0.006429, allocations: 12.47 kB / 1.006 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.006472, allocations: 20.5 kB / 1.006 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of SimCode: time 6.01e-07/0.006473, allocations: 0 / 1.006 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.02384, allocations: 2.236 MB / 1.008 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.671/6.694, allocations: 9.266 kB / 1.008 GB, free: 4.762 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.795038657262921]