Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.002158/0.002158, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.002677/0.002677, allocations: 187.2 kB / 22.22 MB, free: 5.105 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.516/1.516, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.734/2.734, allocations: 443.4 MB / 0.7321 GB, free: 12.31 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 71.88 kB / 1.061 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115/1.117, allocations: 160.8 MB / 1.218 GB, free: 3.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002915/1.12, allocations: 0.8448 MB / 1.219 GB, free: 3.141 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001748/1.12, allocations: 40.72 kB / 1.219 GB, free: 3.105 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.64e-05/1.12, allocations: 1.062 kB / 1.219 GB, free: 3.105 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.369e-05/1.12, allocations: 11.86 kB / 1.219 GB, free: 3.094 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.872e-05/1.121, allocations: 5.062 kB / 1.219 GB, free: 3.09 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.915e-05/1.121, allocations: 19.48 kB / 1.219 GB, free: 3.074 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001522/1.121, allocations: 70.88 kB / 1.219 GB, free: 3.027 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/1.121, allocations: 38.64 kB / 1.219 GB, free: 3 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.514e-05/1.121, allocations: 17.22 kB / 1.219 GB, free: 2.992 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.998e-05/1.121, allocations: 36.53 kB / 1.22 GB, free: 2.961 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/1.121, allocations: 6.531 kB / 1.22 GB, free: 2.961 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/1.121, allocations: 5.75 kB / 1.22 GB, free: 2.961 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/1.121, allocations: 10.44 kB / 1.22 GB, free: 2.953 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/1.121, allocations: 38.41 kB / 1.22 GB, free: 2.922 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001586/1.121, allocations: 76.52 kB / 1.22 GB, free: 2.867 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/1.121, allocations: 0 / 1.22 GB, free: 2.867 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.443e-06/1.121, allocations: 4 kB / 1.22 GB, free: 2.863 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.121, allocations: 0 / 1.22 GB, free: 2.863 MB / 0.92 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.0005384/1.122, allocations: 383.9 kB / 1.22 GB, free: 2.461 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/1.122, allocations: 9.812 kB / 1.22 GB, free: 2.461 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/1.122, allocations: 14.12 kB / 1.22 GB, free: 2.453 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/1.122, allocations: 202.3 kB / 1.22 GB, free: 2.227 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/1.122, allocations: 6.875 kB / 1.22 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/1.122, allocations: 5.156 kB / 1.22 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/1.123, allocations: 94.14 kB / 1.22 GB, free: 2.145 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/1.123, allocations: 192 / 1.22 GB, free: 2.145 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/1.123, allocations: 5.469 kB / 1.22 GB, free: 2.141 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.123, allocations: 1.062 kB / 1.22 GB, free: 2.141 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.711e-05/1.123, allocations: 40.42 kB / 1.22 GB, free: 2.121 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000732/1.123, allocations: 432.3 kB / 1.221 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.023e-05/1.124, allocations: 48.92 kB / 1.221 GB, free: 1.625 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.945e-05/1.124, allocations: 19.41 kB / 1.221 GB, free: 1.605 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/1.124, allocations: 1.312 kB / 1.221 GB, free: 1.605 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/1.124, allocations: 30.56 kB / 1.221 GB, free: 1.566 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.124, allocations: 5.375 kB / 1.221 GB, free: 1.562 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002051/1.124, allocations: 54.19 kB / 1.221 GB, free: 1.516 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/1.124, allocations: 82.41 kB / 1.221 GB, free: 1.418 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/1.124, allocations: 156.5 kB / 1.221 GB, free: 1.293 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/1.124, allocations: 25.7 kB / 1.221 GB, free: 1.262 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/1.124, allocations: 105 kB / 1.221 GB, free: 1.16 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.097e-05/1.124, allocations: 4.984 kB / 1.221 GB, free: 1.156 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/1.124, allocations: 25.7 kB / 1.221 GB, free: 1.129 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.124, allocations: 321.1 kB / 1.222 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/1.124, allocations: 6.359 kB / 1.222 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.793e-05/1.124, allocations: 18.91 kB / 1.222 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.601e-05/1.124, allocations: 30.44 kB / 1.222 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/1.125, allocations: 0 / 1.222 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.949e-05/1.125, allocations: 67.56 kB / 1.222 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/1.125, allocations: 5.719 kB / 1.222 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/1.125, allocations: 3.938 kB / 1.222 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/1.125, allocations: 1.219 kB / 1.222 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.362e-05/1.125, allocations: 5.969 kB / 1.222 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/1.125, allocations: 0 / 1.222 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.896e-05/1.125, allocations: 10 kB / 1.222 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/1.125, allocations: 6.156 kB / 1.222 GB, free: 0.6875 MB / 0.92 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.601e-05/1.125, allocations: 125.1 kB / 1.222 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/1.125, allocations: 7.391 kB / 1.222 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/1.125, allocations: 18.67 kB / 1.222 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/1.125, allocations: 1.156 kB / 1.222 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.125, allocations: 5.031 kB / 1.222 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/1.125, allocations: 0.9688 kB / 1.222 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/1.125, allocations: 470.6 kB / 1.222 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/1.125, allocations: 4.062 kB / 1.222 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/1.125, allocations: 7.156 kB / 1.222 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/1.125, allocations: 1.062 kB / 1.222 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/1.125, allocations: 0 / 1.222 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/1.125, allocations: 5.078 kB / 1.222 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.125, allocations: 1.188 kB / 1.222 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/1.126, allocations: 74.27 kB / 1.222 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.724e-05/1.126, allocations: 95.62 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/1.126, allocations: 5.219 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.206e-05/1.126, allocations: 1.094 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/1.126, allocations: 1.125 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/1.126, allocations: 1.156 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001111/1.126, allocations: 125.5 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/1.126, allocations: 0 / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001939/1.126, allocations: 7.562 kB / 1.223 GB, free: 15.73 MB / 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.0001147/1.126, allocations: 97.69 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.578e-05/1.126, allocations: 18.3 kB / 1.223 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.126, allocations: 0 / 1.223 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.646e-05/1.126, allocations: 12.16 kB / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/1.126, allocations: 13.88 kB / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/1.127, allocations: 160 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/1.127, allocations: 0.7022 MB / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.088e-05/1.127, allocations: 4.469 kB / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/1.127, allocations: 11.22 kB / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/1.127, allocations: 3.938 kB / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of Templates: time 0.003041/1.13, allocations: 487.8 kB / 1.224 GB, free: 14.48 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.399298516102135]