Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 110.2 kB / 16.41 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002167/0.002167, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.804/2.804, allocations: 469.8 MB / 0.7491 GB, free: 3.016 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 63.91 kB / 1.073 GB, free: 136 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117/1.119, allocations: 159.1 MB / 1.229 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.00208/1.121, allocations: 0.8236 MB / 1.229 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001075/1.121, allocations: 35.8 kB / 1.229 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.096e-05/1.121, allocations: 4 kB / 1.229 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.262e-05/1.121, allocations: 15.86 kB / 1.23 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.057e-05/1.121, allocations: 11.86 kB / 1.23 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.068e-05/1.121, allocations: 19.98 kB / 1.23 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/1.122, allocations: 55.84 kB / 1.23 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/1.122, allocations: 59.83 kB / 1.23 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.841e-05/1.122, allocations: 19.88 kB / 1.23 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.772e-05/1.122, allocations: 31.84 kB / 1.23 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/1.122, allocations: 4 kB / 1.23 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/1.122, allocations: 8 kB / 1.23 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/1.122, allocations: 15.88 kB / 1.23 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.425e-05/1.122, allocations: 39.78 kB / 1.23 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/1.122, allocations: 69.48 kB / 1.23 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.122, allocations: 0 / 1.23 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.034e-06/1.122, allocations: 3.938 kB / 1.23 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.119e-06/1.122, allocations: 8 kB / 1.23 GB, free: 3.633 MB / 0.9356 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.0004684/1.123, allocations: 375.1 kB / 1.23 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/1.123, allocations: 12.03 kB / 1.23 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.403e-05/1.123, allocations: 34.75 kB / 1.23 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/1.123, allocations: 20.84 kB / 1.23 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/1.123, allocations: 204 kB / 1.23 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/1.123, allocations: 8.375 kB / 1.23 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/1.123, allocations: 4.375 kB / 1.23 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/1.123, allocations: 99.86 kB / 1.231 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/1.123, allocations: 7.875 kB / 1.231 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/1.123, allocations: 0 / 1.231 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/1.123, allocations: 0 / 1.231 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.883e-05/1.123, allocations: 35.98 kB / 1.231 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005642/1.124, allocations: 440.8 kB / 1.231 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.192e-05/1.124, allocations: 41.16 kB / 1.231 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.162e-05/1.124, allocations: 21.84 kB / 1.231 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/1.124, allocations: 0 / 1.231 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/1.124, allocations: 34.5 kB / 1.231 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/1.124, allocations: 4 kB / 1.231 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001882/1.124, allocations: 57.58 kB / 1.231 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/1.124, allocations: 81.05 kB / 1.231 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/1.125, allocations: 162.1 kB / 1.231 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/1.125, allocations: 25.7 kB / 1.231 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/1.125, allocations: 100.1 kB / 1.232 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.05e-05/1.125, allocations: 7.953 kB / 1.232 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/1.125, allocations: 21.92 kB / 1.232 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001511/1.125, allocations: 322.8 kB / 1.232 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.169e-05/1.125, allocations: 8 kB / 1.232 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.173e-05/1.125, allocations: 13.72 kB / 1.232 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.727e-05/1.125, allocations: 25.72 kB / 1.232 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/1.125, allocations: 7.875 kB / 1.232 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.265e-05/1.125, allocations: 61.58 kB / 1.232 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.125, allocations: 11.94 kB / 1.232 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/1.125, allocations: 0 / 1.232 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/1.125, allocations: 0 / 1.232 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.216e-05/1.125, allocations: 8 kB / 1.232 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/1.125, allocations: 3.938 kB / 1.232 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.866e-05/1.125, allocations: 3.938 kB / 1.232 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/1.125, allocations: 8 kB / 1.232 GB, free: 1.133 MB / 0.9356 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 9.088e-05/1.125, allocations: 117.9 kB / 1.232 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/1.125, allocations: 11.89 kB / 1.232 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/1.125, allocations: 7.875 kB / 1.232 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/1.125, allocations: 4 kB / 1.232 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/1.125, allocations: 0 / 1.232 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/1.125, allocations: 0 / 1.232 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004198/1.126, allocations: 474.7 kB / 1.233 GB, free: 464 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.126, allocations: 64 / 1.233 GB, free: 464 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-05/1.126, allocations: 11.98 kB / 1.233 GB, free: 452 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/1.126, allocations: 0 / 1.233 GB, free: 452 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/1.126, allocations: 0 / 1.233 GB, free: 452 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.126, allocations: 0 / 1.233 GB, free: 452 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.126, allocations: 0 / 1.233 GB, free: 452 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.95e-05/1.126, allocations: 85.83 kB / 1.233 GB, free: 344 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/1.126, allocations: 93.08 kB / 1.233 GB, free: 232 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/1.126, allocations: 4 kB / 1.233 GB, free: 228 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.922e-05/1.126, allocations: 96 / 1.233 GB, free: 228 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/1.126, allocations: 3.984 kB / 1.233 GB, free: 224 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/1.126, allocations: 0 / 1.233 GB, free: 224 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.602e-05/1.126, allocations: 119.2 kB / 1.233 GB, free: 104 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/1.126, allocations: 0 / 1.233 GB, free: 104 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001844/1.126, allocations: 8 kB / 1.233 GB, free: 96 kB / 0.9356 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.0004759/1.127, allocations: 0.6177 MB / 1.234 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.823e-05/1.127, allocations: 23.92 kB / 1.234 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.127, allocations: 0 / 1.234 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.286e-05/1.127, allocations: 4.219 kB / 1.234 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/1.127, allocations: 13.56 kB / 1.234 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/1.129, allocations: 1.328 MB / 1.235 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/1.129, allocations: 0.6967 MB / 1.236 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.795e-05/1.129, allocations: 12.42 kB / 1.236 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/1.129, allocations: 23.44 kB / 1.236 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/1.129, allocations: 0 / 1.236 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/1.152, allocations: 1.579 MB / 1.237 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/9.161, allocations: 15.05 kB / 1.237 GB, free: 11.73 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.422923611942679]