Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001464/0.001464, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.001472/0.001472, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.305/1.305, allocations: 225.6 MB / 249.3 MB, free: 3.043 MB / 190.1 MB " [Timeout remaining time 179] 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.519/2.519, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] 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.To_gal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 71.89 kB / 1.107 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7702/0.7719, allocations: 168.7 MB / 1.271 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001639/0.7736, allocations: 0.8483 MB / 1.272 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 8.996e-05/0.7737, allocations: 48.09 kB / 1.272 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.474e-05/0.7737, allocations: 2.156 kB / 1.272 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.7738, allocations: 9.797 kB / 1.272 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.592e-05/0.7738, allocations: 5.859 kB / 1.272 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.961e-05/0.7739, allocations: 21.23 kB / 1.272 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.771e-05/0.774, allocations: 66.72 kB / 1.272 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.7741, allocations: 31.98 kB / 1.272 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.56e-05/0.7741, allocations: 26.5 kB / 1.272 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.191e-05/0.7742, allocations: 26.66 kB / 1.272 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.7742, allocations: 5.75 kB / 1.272 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.7742, allocations: 6.062 kB / 1.272 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.7742, allocations: 20.95 kB / 1.272 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.7742, allocations: 32.7 kB / 1.273 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.948e-05/0.7743, allocations: 75.83 kB / 1.273 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.7743, allocations: 1.422 kB / 1.273 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7743, allocations: 0 / 1.273 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.7743, allocations: 0 / 1.273 GB, free: 6.973 MB / 0.9981 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.0002944/0.7746, allocations: 380.6 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.7747, allocations: 13.59 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.133e-05/0.7747, allocations: 39.38 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.454e-05/0.7747, allocations: 18.19 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.7749, allocations: 196.1 kB / 1.273 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.7749, allocations: 3.734 kB / 1.273 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.7749, allocations: 9.969 kB / 1.273 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.775, allocations: 92.22 kB / 1.273 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.775, allocations: 4.625 kB / 1.273 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.775, allocations: 0.8125 kB / 1.273 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.775, allocations: 6.281 kB / 1.273 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.102e-05/0.7751, allocations: 43.84 kB / 1.273 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.7755, allocations: 437.7 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.852e-05/0.7755, allocations: 41.33 kB / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.7756, allocations: 20.78 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-06/0.7756, allocations: 0.75 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.7756, allocations: 35.94 kB / 1.274 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.7756, allocations: 0.7812 kB / 1.274 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001381/0.7757, allocations: 57.02 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/0.7757, allocations: 78.3 kB / 1.274 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.7759, allocations: 163 kB / 1.274 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.4e-06/0.7759, allocations: 25.7 kB / 1.274 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.7759, allocations: 104.6 kB / 1.274 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.921e-06/0.7759, allocations: 5.562 kB / 1.274 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.7759, allocations: 18.14 kB / 1.274 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.571e-05/0.776, allocations: 324 kB / 1.275 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.513e-05/0.776, allocations: 4 kB / 1.275 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.718e-05/0.776, allocations: 23.45 kB / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.178e-05/0.776, allocations: 23.7 kB / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.776, allocations: 0 / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.077e-05/0.7761, allocations: 61.81 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.7761, allocations: 9.484 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.7761, allocations: 0.6562 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.7761, allocations: 5.344 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.557e-05/0.7762, allocations: 10 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.7762, allocations: 1.797 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.65e-05/0.7762, allocations: 5.656 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.7762, allocations: 5.781 kB / 1.275 GB, free: 4.84 MB / 0.9981 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 4.075e-05/0.7763, allocations: 113.8 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.7763, allocations: 17.38 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.082e-05/0.7763, allocations: 12.3 kB / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.7763, allocations: 7.453 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.7763, allocations: 4.906 kB / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.7763, allocations: 5 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.7766, allocations: 459.4 kB / 1.275 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7766, allocations: 2.344 kB / 1.275 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.731e-05/0.7766, allocations: 6.938 kB / 1.275 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.7766, allocations: 0.9062 kB / 1.275 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.7766, allocations: 1.219 kB / 1.275 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7766, allocations: 1.031 kB / 1.275 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7766, allocations: 9.406 kB / 1.275 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.299e-05/0.7766, allocations: 81.17 kB / 1.275 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/0.7767, allocations: 85.77 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.7767, allocations: 0.8438 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.905e-05/0.7767, allocations: 1 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.019e-05/0.7767, allocations: 5.641 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/0.7767, allocations: 5.812 kB / 1.276 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.399e-05/0.7768, allocations: 124.8 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7768, allocations: 0 / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001714/0.777, allocations: 7.375 kB / 1.276 GB, free: 3.918 MB / 0.9981 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.0001973/0.7772, allocations: 0.6176 MB / 1.276 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.155e-05/0.7772, allocations: 18.09 kB / 1.276 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7772, allocations: 1.094 kB / 1.276 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.257e-06/0.7772, allocations: 3.281 kB / 1.276 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.7774, allocations: 11.62 kB / 1.276 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000939/0.7783, allocations: 1.338 MB / 1.278 GB, free: 18.06 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.7786, allocations: 0.6924 MB / 1.278 GB, free: 17.36 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.69e-05/0.7786, allocations: 5.953 kB / 1.278 GB, free: 17.36 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.7787, allocations: 26.19 kB / 1.278 GB, free: 17.34 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/0.7787, allocations: 0 / 1.278 GB, free: 17.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.8002, allocations: 1.569 MB / 1.28 GB, free: 16.96 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.859/7.659, allocations: 13.8 kB / 1.28 GB, free: 16.96 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.962211813999602]