Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001883/0.001883, allocations: 79.83 kB / 19.18 MB, free: 2.516 MB / 14.72 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.003354/0.003354, allocations: 164.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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.544/1.544, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.011/3.011, allocations: 389 MB / 0.633 GB, free: 0.9609 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 1 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.207e-05/3.394e-05, allocations: 2.281 kB / 1 GB, free: 6.18 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002358/0.002392, allocations: 0.8034 MB / 1.001 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0001518/0.002544, allocations: 47.78 kB / 1.001 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-05/0.002622, allocations: 0 / 1.001 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 4.468e-05/0.002666, allocations: 7.875 kB / 1.001 GB, free: 5.324 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 9.971e-05/0.002766, allocations: 11.88 kB / 1.001 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 6.282e-05/0.002829, allocations: 19.98 kB / 1.001 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.00299, allocations: 63.81 kB / 1.001 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.003172, allocations: 31.91 kB / 1.001 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.003287, allocations: 39.89 kB / 1.001 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.232e-05/0.003369, allocations: 15.92 kB / 1.001 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.003397, allocations: 8 kB / 1.001 GB, free: 5.137 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 2.69e-05/0.003424, allocations: 4 kB / 1.001 GB, free: 5.133 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 3.028e-05/0.003455, allocations: 23.92 kB / 1.001 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.003497, allocations: 19.92 kB / 1.001 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.003661, allocations: 75.62 kB / 1.001 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.003667, allocations: 4 kB / 1.001 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.183e-06/0.003668, allocations: 0 / 1.001 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.003674, allocations: 0 / 1.001 GB, free: 5.012 MB / 0.9044 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.0006064/0.00428, allocations: 309.9 kB / 1.002 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.004335, allocations: 12.03 kB / 1.002 GB, free: 4.664 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.004388, allocations: 8.891 kB / 1.002 GB, free: 4.656 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.004684, allocations: 133.6 kB / 1.002 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.004699, allocations: 4.375 kB / 1.002 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.004718, allocations: 12.38 kB / 1.002 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.004911, allocations: 87.95 kB / 1.002 GB, free: 4.387 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.004924, allocations: 192 / 1.002 GB, free: 4.387 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.00494, allocations: 8.312 kB / 1.002 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.004945, allocations: 384 / 1.002 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.781e-05/0.005043, allocations: 43.86 kB / 1.002 GB, free: 4.336 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005861/0.005629, allocations: 352.4 kB / 1.002 GB, free: 3.957 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 7.319e-05/0.005703, allocations: 41.28 kB / 1.002 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.125e-05/0.005744, allocations: 25.83 kB / 1.002 GB, free: 3.867 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-06/0.005751, allocations: 0 / 1.002 GB, free: 3.867 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.005794, allocations: 42.48 kB / 1.002 GB, free: 3.816 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.005795, allocations: 0 / 1.002 GB, free: 3.816 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0001861/0.005981, allocations: 45.66 kB / 1.002 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/0.006051, allocations: 85.05 kB / 1.002 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.006202, allocations: 133.7 kB / 1.003 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.006223, allocations: 29.7 kB / 1.003 GB, free: 3.488 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/0.006311, allocations: 108.2 kB / 1.003 GB, free: 3.379 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/0.00632, allocations: 7.953 kB / 1.003 GB, free: 3.371 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.006356, allocations: 17.72 kB / 1.003 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.006528, allocations: 318.8 kB / 1.003 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.744e-05/0.006546, allocations: 4 kB / 1.003 GB, free: 3.023 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.711e-05/0.006573, allocations: 21.72 kB / 1.003 GB, free: 2.996 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.445e-05/0.006617, allocations: 25.7 kB / 1.003 GB, free: 2.965 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.006619, allocations: 0 / 1.003 GB, free: 2.965 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.56e-05/0.006704, allocations: 49.64 kB / 1.003 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.006723, allocations: 12.06 kB / 1.003 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.006727, allocations: 0 / 1.003 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.006744, allocations: 0 / 1.003 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.438e-05/0.006808, allocations: 11.98 kB / 1.003 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.006819, allocations: 7.938 kB / 1.003 GB, free: 2.879 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.546e-05/0.006845, allocations: 3.953 kB / 1.003 GB, free: 2.875 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.006848, allocations: 0 / 1.003 GB, free: 2.875 MB / 0.9044 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.983e-05/0.006948, allocations: 118.4 kB / 1.003 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.006987, allocations: 4 kB / 1.003 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.1e-05/0.007008, allocations: 3.469 kB / 1.003 GB, free: 2.742 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.007012, allocations: 8 kB / 1.003 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.00702, allocations: 4 kB / 1.003 GB, free: 2.73 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.00703, allocations: 7.922 kB / 1.003 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/0.007454, allocations: 414.4 kB / 1.004 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.007455, allocations: 0 / 1.004 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-05/0.007477, allocations: 7.984 kB / 1.004 GB, free: 2.266 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.007479, allocations: 0 / 1.004 GB, free: 2.266 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.007487, allocations: 3.938 kB / 1.004 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.007489, allocations: 0 / 1.004 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.007492, allocations: 4 kB / 1.004 GB, free: 2.258 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.007602, allocations: 74 kB / 1.004 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 2.432e-05/0.007626, allocations: 11.94 kB / 1.004 GB, free: 2.152 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.007643, allocations: 11.88 kB / 1.004 GB, free: 2.141 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.69e-05/0.00766, allocations: 0 / 1.004 GB, free: 2.141 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/0.007675, allocations: 0 / 1.004 GB, free: 2.141 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.007679, allocations: 7.938 kB / 1.004 GB, free: 2.133 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.986e-05/0.007759, allocations: 101.9 kB / 1.004 GB, free: 2.035 MB / 0.9044 GB Notification: Performance of sort global known variables: time 6e-08/0.007759, allocations: 0 / 1.004 GB, free: 2.035 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001887/0.007948, allocations: 11.95 kB / 1.004 GB, free: 2.023 MB / 0.9044 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.0001433/0.008091, allocations: 99.27 kB / 1.004 GB, free: 1.914 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.008195, allocations: 23.92 kB / 1.004 GB, free: 1.891 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.008197, allocations: 0 / 1.004 GB, free: 1.891 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.046e-05/0.008207, allocations: 4 kB / 1.004 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.008367, allocations: 6.188 kB / 1.004 GB, free: 1.883 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003769/0.008744, allocations: 162.5 kB / 1.004 GB, free: 1.688 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.436e-05/0.008828, allocations: 79.58 kB / 1.004 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.032e-05/0.008859, allocations: 4 kB / 1.004 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.008887, allocations: 12.5 kB / 1.004 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of SimCode: time 4.01e-07/0.008887, allocations: 0 / 1.004 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of Templates: time 0.002954/0.01184, allocations: 337.5 kB / 1.005 GB, free: 1.246 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 8.37420343235135]