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.001904/0.001904, allocations: 105.5 kB / 16.45 MB, free: 6.445 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.002569/0.002569, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.523/1.523, allocations: 225.6 MB / 247.8 MB, free: 3.754 MB / 190.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.913/2.913, allocations: 476.7 MB / 0.7611 GB, free: 15.73 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.001975/0.001975, allocations: 71.89 kB / 1.104 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079/1.081, allocations: 168.7 MB / 1.269 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001844/1.082, allocations: 0.8485 MB / 1.27 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 9.223e-05/1.082, allocations: 41.34 kB / 1.27 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.596e-05/1.083, allocations: 1.719 kB / 1.27 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.586e-05/1.083, allocations: 9.656 kB / 1.27 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.677e-05/1.083, allocations: 6.094 kB / 1.27 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.439e-05/1.083, allocations: 19.75 kB / 1.27 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/1.083, allocations: 67.77 kB / 1.27 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/1.083, allocations: 34.42 kB / 1.27 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.241e-05/1.083, allocations: 26.14 kB / 1.27 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.16e-05/1.083, allocations: 26.69 kB / 1.27 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/1.083, allocations: 6.031 kB / 1.27 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/1.083, allocations: 6.188 kB / 1.27 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/1.083, allocations: 16.7 kB / 1.27 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/1.083, allocations: 32.19 kB / 1.27 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/1.083, allocations: 77.17 kB / 1.27 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.083, allocations: 4 kB / 1.27 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.553e-06/1.083, allocations: 4.781 kB / 1.27 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.899e-06/1.083, allocations: 0 / 1.27 GB, free: 6.977 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.000351/1.084, allocations: 380.6 kB / 1.27 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/1.084, allocations: 9.844 kB / 1.27 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.741e-05/1.084, allocations: 38.98 kB / 1.27 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/1.084, allocations: 14.42 kB / 1.27 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/1.084, allocations: 196 kB / 1.271 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/1.084, allocations: 8.328 kB / 1.271 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/1.084, allocations: 9.281 kB / 1.271 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/1.084, allocations: 92.77 kB / 1.271 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/1.084, allocations: 7.875 kB / 1.271 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/1.084, allocations: 1.531 kB / 1.271 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/1.084, allocations: 1.688 kB / 1.271 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.982e-05/1.084, allocations: 39.97 kB / 1.271 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/1.084, allocations: 438.2 kB / 1.271 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.069e-05/1.084, allocations: 45.7 kB / 1.271 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.858e-05/1.084, allocations: 19.98 kB / 1.271 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-06/1.084, allocations: 0.5625 kB / 1.271 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/1.085, allocations: 38.03 kB / 1.271 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/1.085, allocations: 0 / 1.271 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001418/1.085, allocations: 55.89 kB / 1.271 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/1.085, allocations: 78.5 kB / 1.271 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/1.085, allocations: 160 kB / 1.271 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.691e-06/1.085, allocations: 26.42 kB / 1.272 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/1.085, allocations: 99.86 kB / 1.272 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.073e-06/1.085, allocations: 9.688 kB / 1.272 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/1.085, allocations: 25.92 kB / 1.272 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.887e-05/1.085, allocations: 320.7 kB / 1.272 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/1.085, allocations: 7.281 kB / 1.272 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.695e-05/1.085, allocations: 15.53 kB / 1.272 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.228e-05/1.085, allocations: 27.97 kB / 1.272 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/1.085, allocations: 4 kB / 1.272 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.957e-05/1.085, allocations: 58.31 kB / 1.272 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/1.085, allocations: 8.719 kB / 1.272 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/1.085, allocations: 5.359 kB / 1.272 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/1.085, allocations: 0.9062 kB / 1.272 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.297e-05/1.085, allocations: 6.766 kB / 1.272 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/1.085, allocations: 0.7812 kB / 1.272 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.583e-05/1.085, allocations: 5.5 kB / 1.272 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/1.085, allocations: 2.266 kB / 1.272 GB, free: 4.855 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.065e-05/1.085, allocations: 118.7 kB / 1.272 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/1.085, allocations: 11.45 kB / 1.272 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.281e-05/1.085, allocations: 12.84 kB / 1.272 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/1.085, allocations: 5.5 kB / 1.272 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/1.085, allocations: 0.8438 kB / 1.272 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/1.085, allocations: 0.8438 kB / 1.272 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/1.086, allocations: 473.9 kB / 1.273 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.086, allocations: 9.969 kB / 1.273 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-05/1.086, allocations: 7.094 kB / 1.273 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/1.086, allocations: 0.875 kB / 1.273 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/1.086, allocations: 4.719 kB / 1.273 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/1.086, allocations: 1.609 kB / 1.273 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.086, allocations: 0.875 kB / 1.273 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.528e-05/1.086, allocations: 81 kB / 1.273 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/1.086, allocations: 90.53 kB / 1.273 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/1.086, allocations: 1.875 kB / 1.273 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.903e-05/1.086, allocations: 0.6875 kB / 1.273 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.856e-06/1.086, allocations: 0.8438 kB / 1.273 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/1.086, allocations: 5.969 kB / 1.273 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.88e-05/1.086, allocations: 120.2 kB / 1.273 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.086, allocations: 0 / 1.273 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000175/1.086, allocations: 7.469 kB / 1.273 GB, free: 3.93 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.0002121/1.086, allocations: 0.6167 MB / 1.274 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.02e-05/1.086, allocations: 18.7 kB / 1.274 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.086, allocations: 4.969 kB / 1.274 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.006e-05/1.086, allocations: 4.484 kB / 1.274 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/1.086, allocations: 10.81 kB / 1.274 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009975/1.087, allocations: 1.341 MB / 1.275 GB, free: 18.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/1.088, allocations: 0.6967 MB / 1.276 GB, free: 17.37 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.877e-05/1.088, allocations: 10.78 kB / 1.276 GB, free: 17.37 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/1.088, allocations: 26.31 kB / 1.276 GB, free: 17.35 MB / 1.014 GB Notification: Performance of SimCode: time 2.71e-07/1.088, allocations: 0 / 1.276 GB, free: 17.35 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05898/1.147, allocations: 1.587 MB / 1.277 GB, free: 16.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.136/9.282, allocations: 14.28 kB / 1.277 GB, free: 16.95 MB / 1.014 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.836587473284453]