Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 84.41 kB / 20.23 MB, free: 4.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002202/0.002202, allocations: 157.7 kB / 23.54 MB, free: 0.8867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.887/2.887, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.208e-05/3.364e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002188/0.002222, allocations: 0.7969 MB / 0.8116 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001454/0.002367, allocations: 46.23 kB / 0.8116 GB, free: 1.277 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.002421, allocations: 4 kB / 0.8116 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.631e-05/0.002467, allocations: 11.86 kB / 0.8116 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.346e-05/0.002561, allocations: 11.88 kB / 0.8117 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 7.088e-05/0.002631, allocations: 15.98 kB / 0.8117 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.002769, allocations: 65.36 kB / 0.8117 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.002912, allocations: 31.91 kB / 0.8118 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.003029, allocations: 39.84 kB / 0.8118 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.08e-05/0.00308, allocations: 21.02 kB / 0.8118 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.003103, allocations: 4 kB / 0.8118 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.432e-05/0.003118, allocations: 8 kB / 0.8118 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/0.003148, allocations: 17.5 kB / 0.8119 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.462e-05/0.003192, allocations: 19.94 kB / 0.8119 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.003344, allocations: 75.69 kB / 0.8119 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.003346, allocations: 0 / 0.8119 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003347, allocations: 0 / 0.8119 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.003351, allocations: 2.438 kB / 0.8119 GB, free: 0.9609 MB / 0.7605 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.0005273/0.003878, allocations: 306 kB / 0.8122 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.003916, allocations: 8.031 kB / 0.8122 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.848e-05/0.003975, allocations: 16.89 kB / 0.8123 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.004195, allocations: 137.6 kB / 0.8124 GB, free: 456 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.004217, allocations: 8.906 kB / 0.8124 GB, free: 448 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.004238, allocations: 8.375 kB / 0.8124 GB, free: 440 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.004442, allocations: 100.5 kB / 0.8125 GB, free: 328 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.004452, allocations: 192 / 0.8125 GB, free: 328 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.004463, allocations: 4.844 kB / 0.8125 GB, free: 324 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.004471, allocations: 6 kB / 0.8125 GB, free: 320 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.004578, allocations: 39.86 kB / 0.8126 GB, free: 280 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006464/0.005225, allocations: 352.5 kB / 0.8129 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.25e-05/0.005307, allocations: 41.81 kB / 0.8129 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.005359, allocations: 26.52 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.005367, allocations: 0 / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.005406, allocations: 31.25 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.005407, allocations: 0.8438 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002303/0.005638, allocations: 54.97 kB / 0.813 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.005707, allocations: 77.11 kB / 0.8131 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.005887, allocations: 136.9 kB / 0.8132 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.005911, allocations: 25.7 kB / 0.8133 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.006015, allocations: 109.7 kB / 0.8134 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.006031, allocations: 7.953 kB / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.00608, allocations: 13.72 kB / 0.8134 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.006276, allocations: 322.8 kB / 0.8137 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/0.006298, allocations: 5.219 kB / 0.8137 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.378e-05/0.006332, allocations: 17.72 kB / 0.8137 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.736e-05/0.006409, allocations: 30.48 kB / 0.8138 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.006412, allocations: 0 / 0.8138 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001262/0.006538, allocations: 59.86 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.006559, allocations: 4 kB / 0.8138 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.006567, allocations: 0 / 0.8138 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.001e-05/0.006597, allocations: 0 / 0.8138 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.381e-05/0.006691, allocations: 11.98 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.0067, allocations: 7.062 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.206e-05/0.006732, allocations: 7.891 kB / 0.8138 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.00674, allocations: 4 kB / 0.8138 GB, free: 14.82 MB / 0.7761 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 0.0001439/0.006884, allocations: 113.8 kB / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.006931, allocations: 0 / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.998e-05/0.00697, allocations: 11.47 kB / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.006973, allocations: 0 / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.00698, allocations: 0 / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.006994, allocations: 13.17 kB / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005405/0.007534, allocations: 406.5 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.00754, allocations: 8.562 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.732e-05/0.007567, allocations: 4.078 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.007575, allocations: 8.547 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.007586, allocations: 7.875 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.007588, allocations: 0.8438 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.00759, allocations: 0 / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.007721, allocations: 67.09 kB / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.929e-05/0.00775, allocations: 11.94 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.007775, allocations: 12.75 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.137e-05/0.007797, allocations: 4 kB / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.007813, allocations: 0.9375 kB / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.007816, allocations: 0 / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.323e-05/0.007909, allocations: 95.27 kB / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.007909, allocations: 0.7812 kB / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002103/0.008119, allocations: 15.95 kB / 0.8146 GB, free: 13.99 MB / 0.7761 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.0001735/0.008293, allocations: 100.3 kB / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.008398, allocations: 20.98 kB / 0.8147 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.0084, allocations: 0 / 0.8147 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.792e-05/0.008417, allocations: 9.062 kB / 0.8147 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.008605, allocations: 4 kB / 0.8147 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/0.00911, allocations: 167.2 kB / 0.8149 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.009231, allocations: 81.88 kB / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.672e-05/0.009268, allocations: 5.938 kB / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.009311, allocations: 12.5 kB / 0.815 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of SimCode: time 7.51e-07/0.009311, allocations: 0 / 0.815 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of Templates: time 0.003073/0.01238, allocations: 348.7 kB / 0.8153 GB, free: 13.21 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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: 7.870930714998394]