Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007986/0.0007986, 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.0009722/0.0009722, allocations: 169.9 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.8639/0.8639, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.701/1.701, allocations: 389 MB / 0.633 GB, free: 12.73 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.From_gal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.944e-05, allocations: 10.28 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001342/0.001362, allocations: 0.7829 MB / 1 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 9.752e-05/0.001459, allocations: 39.78 kB / 1 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.238e-05/0.001501, allocations: 4 kB / 1 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.001533, allocations: 11.88 kB / 1.001 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.858e-05/0.001602, allocations: 11.92 kB / 1.001 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.755e-05/0.001639, allocations: 19.97 kB / 1.001 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.205e-05/0.001731, allocations: 63.78 kB / 1.001 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.001841, allocations: 23.98 kB / 1.001 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.317e-05/0.001905, allocations: 39.89 kB / 1.001 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.883e-05/0.001953, allocations: 19.91 kB / 1.001 GB, free: 12.49 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.001976, allocations: 8 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.953e-06/0.001983, allocations: 7.938 kB / 1.001 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.001998, allocations: 11.94 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.002027, allocations: 31.91 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.893e-05/0.002116, allocations: 67.7 kB / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.002119, allocations: 4 kB / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.132e-06/0.00212, allocations: 0 / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.002124, allocations: 0 / 1.001 GB, free: 12.36 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.0003114/0.002435, allocations: 302 kB / 1.001 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.002472, allocations: 12.75 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.993e-05/0.002502, allocations: 38.69 kB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.171e-05/0.002523, allocations: 16.88 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.002666, allocations: 133.6 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.002675, allocations: 8.375 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.002684, allocations: 8.375 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.002829, allocations: 93.73 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.002837, allocations: 192 / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.002846, allocations: 4.375 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.002852, allocations: 8.125 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.691e-05/0.002909, allocations: 39.92 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.003285, allocations: 391.8 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.523e-05/0.00333, allocations: 41.28 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.908e-05/0.003359, allocations: 21.84 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.243e-06/0.003366, allocations: 0 / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.003386, allocations: 34.56 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.003387, allocations: 3.938 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001431/0.00353, allocations: 57.58 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.003562, allocations: 81.05 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.817e-05/0.003661, allocations: 165.3 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.647e-06/0.003669, allocations: 25.7 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/0.003715, allocations: 104.3 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.21e-05/0.003727, allocations: 15.89 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.003751, allocations: 17.72 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.211e-05/0.003823, allocations: 318.8 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.003835, allocations: 4 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.594e-05/0.003851, allocations: 17.72 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.913e-05/0.00388, allocations: 25.72 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.003882, allocations: 0 / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.946e-05/0.003931, allocations: 61.58 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.003942, allocations: 8.062 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.003947, allocations: 4 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.003958, allocations: 0 / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.418e-05/0.004002, allocations: 11.88 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.004006, allocations: 0 / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.752e-05/0.004024, allocations: 11.94 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.004028, allocations: 0 / 1.003 GB, free: 10.09 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.064e-05/0.004078, allocations: 117.8 kB / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.004099, allocations: 7.953 kB / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.799e-05/0.004117, allocations: 11.81 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.004118, allocations: 4 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.004123, allocations: 3.938 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.004125, allocations: 4 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.004351, allocations: 433.9 kB / 1.003 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.004352, allocations: 0 / 1.003 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.298e-06/0.004362, allocations: 7.938 kB / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.004363, allocations: 0 / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.004367, allocations: 0 / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.004368, allocations: 0 / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.00437, allocations: 4 kB / 1.003 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.695e-05/0.004417, allocations: 78.78 kB / 1.003 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.004435, allocations: 19.84 kB / 1.003 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.627e-06/0.004444, allocations: 0 / 1.003 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-06/0.004453, allocations: 0 / 1.003 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.004486, allocations: 8.031 kB / 1.003 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.004488, allocations: 4 kB / 1.003 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.521e-05/0.004544, allocations: 121.5 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004544, allocations: 0 / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001652/0.004709, allocations: 15.88 kB / 1.004 GB, free: 9.176 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.0003543/0.005063, allocations: 0.6172 MB / 1.004 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.713e-05/0.00516, allocations: 19.92 kB / 1.004 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.005162, allocations: 4 kB / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.242e-06/0.005168, allocations: 4 kB / 1.004 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.005301, allocations: 4 kB / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.006309, allocations: 1.344 MB / 1.006 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.121e-05/0.00636, allocations: 79.61 kB / 1.006 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.014e-05/0.00639, allocations: 12.47 kB / 1.006 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.006435, allocations: 28.48 kB / 1.006 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of SimCode: time 9.92e-07/0.006436, allocations: 3.938 kB / 1.006 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.02232, allocations: 2.223 MB / 1.008 GB, free: 4.809 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.577/6.599, allocations: 12.81 kB / 1.008 GB, free: 4.801 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.557289650663733]