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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 106.2 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.84/2.84, allocations: 476.7 MB / 0.7634 GB, free: 10.93 MB / 0.6231 GB [Timeout remaining time 87] 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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 67.89 kB / 1.108 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7186/0.7205, allocations: 168.7 MB / 1.272 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002142/0.7227, allocations: 0.8388 MB / 1.273 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001119/0.7228, allocations: 39.78 kB / 1.273 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.384e-05/0.7229, allocations: 4 kB / 1.273 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.857e-05/0.7229, allocations: 7.875 kB / 1.273 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.58e-05/0.723, allocations: 15.86 kB / 1.273 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.688e-05/0.723, allocations: 15.98 kB / 1.273 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.7231, allocations: 63.84 kB / 1.273 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.7233, allocations: 35.86 kB / 1.273 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.755e-05/0.7234, allocations: 35.8 kB / 1.273 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.165e-05/0.7234, allocations: 31.84 kB / 1.273 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.7234, allocations: 4 kB / 1.273 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.7234, allocations: 8 kB / 1.273 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.7235, allocations: 7.938 kB / 1.273 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.7235, allocations: 35.8 kB / 1.274 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.7236, allocations: 77.97 kB / 1.274 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.7236, allocations: 0 / 1.274 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.306e-06/0.7236, allocations: 4 kB / 1.274 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.7236, allocations: 0 / 1.274 GB, free: 3.371 MB / 0.9669 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.0004885/0.7241, allocations: 383.1 kB / 1.274 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.7242, allocations: 12.03 kB / 1.274 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.7242, allocations: 12.84 kB / 1.274 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.7244, allocations: 184.3 kB / 1.274 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.7244, allocations: 8.375 kB / 1.274 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.7244, allocations: 4.375 kB / 1.274 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.7246, allocations: 99.88 kB / 1.274 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.7246, allocations: 4.188 kB / 1.274 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.7246, allocations: 7.938 kB / 1.274 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.7247, allocations: 4 kB / 1.274 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.367e-05/0.7247, allocations: 35.92 kB / 1.274 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005858/0.7253, allocations: 436.7 kB / 1.275 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.317e-05/0.7254, allocations: 41.22 kB / 1.275 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.659e-05/0.7254, allocations: 21.81 kB / 1.275 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.7254, allocations: 3.984 kB / 1.275 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.7255, allocations: 30.56 kB / 1.275 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.7255, allocations: 0 / 1.275 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001712/0.7256, allocations: 61.62 kB / 1.275 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.7257, allocations: 77.11 kB / 1.275 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.7259, allocations: 159.7 kB / 1.275 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.7259, allocations: 25.7 kB / 1.275 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/0.726, allocations: 104 kB / 1.275 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.508e-06/0.726, allocations: 7.953 kB / 1.275 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.726, allocations: 17.67 kB / 1.275 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.7262, allocations: 323 kB / 1.276 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.06e-05/0.7262, allocations: 12 kB / 1.276 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.365e-05/0.7262, allocations: 17.7 kB / 1.276 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.799e-05/0.7262, allocations: 29.66 kB / 1.276 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.7262, allocations: 3.938 kB / 1.276 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.758e-05/0.7263, allocations: 57.59 kB / 1.276 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.7264, allocations: 6.562 kB / 1.276 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.7264, allocations: 11.92 kB / 1.276 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.7264, allocations: 3.938 kB / 1.276 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.145e-05/0.7264, allocations: 8 kB / 1.276 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.7264, allocations: 0 / 1.276 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.813e-05/0.7265, allocations: 3.938 kB / 1.276 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.7265, allocations: 8 kB / 1.276 GB, free: 0.9258 MB / 0.9669 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 7.914e-05/0.7266, allocations: 110.4 kB / 1.276 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.7266, allocations: 7.953 kB / 1.276 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.7266, allocations: 19.8 kB / 1.276 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.7266, allocations: 4 kB / 1.276 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.7266, allocations: 0 / 1.276 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.7266, allocations: 0 / 1.276 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.7271, allocations: 474.7 kB / 1.276 GB, free: 252 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.7271, allocations: 4 kB / 1.276 GB, free: 248 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/0.7271, allocations: 4 kB / 1.276 GB, free: 244 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.7271, allocations: 0 / 1.276 GB, free: 244 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.7271, allocations: 4.062 kB / 1.276 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7271, allocations: 0 / 1.276 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7271, allocations: 4 kB / 1.276 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.135e-05/0.7272, allocations: 81.91 kB / 1.276 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/0.7273, allocations: 93.05 kB / 1.276 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.7273, allocations: 3.984 kB / 1.276 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.095e-05/0.7273, allocations: 4.031 kB / 1.276 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.105e-05/0.7273, allocations: 0 / 1.276 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.7273, allocations: 4 kB / 1.277 GB, free: 8 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001142/0.7275, allocations: 121.7 kB / 1.277 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.7275, allocations: 0 / 1.277 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001879/0.7276, allocations: 4 kB / 1.277 GB, free: 15.89 MB / 0.9825 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.0001305/0.7278, allocations: 103.2 kB / 1.277 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.071e-05/0.7279, allocations: 15.94 kB / 1.277 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.7279, allocations: 4 kB / 1.277 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.321e-05/0.7279, allocations: 7.984 kB / 1.277 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.728, allocations: 14.69 kB / 1.277 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.7284, allocations: 192.2 kB / 1.277 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.7287, allocations: 0.6965 MB / 1.278 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.7288, allocations: 15.44 kB / 1.278 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.7288, allocations: 0 / 1.278 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of Templates: time 0.002546/0.7313, allocations: 0.8652 MB / 1.278 GB, free: 13.9 MB / 0.9825 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 400] 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