Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.001395/0.001395, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001593/0.001593, allocations: 197.4 kB / 22.17 MB, free: 5.211 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.512/1.512, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.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.935/2.935, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 63.89 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9478/0.9498, allocations: 168.7 MB / 1.274 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002223/0.9521, allocations: 0.8314 MB / 1.275 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001146/0.9522, allocations: 43.78 kB / 1.275 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.287e-05/0.9522, allocations: 0 / 1.275 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.993e-05/0.9523, allocations: 3.938 kB / 1.275 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.907e-05/0.9524, allocations: 11.88 kB / 1.275 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.973e-05/0.9524, allocations: 19.97 kB / 1.275 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.9526, allocations: 75.77 kB / 1.275 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.9527, allocations: 35.94 kB / 1.275 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.322e-05/0.9528, allocations: 23.86 kB / 1.275 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.012e-05/0.9528, allocations: 31.8 kB / 1.275 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.9529, allocations: 4 kB / 1.275 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/0.9529, allocations: 8 kB / 1.275 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.9529, allocations: 11.92 kB / 1.275 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.9529, allocations: 31.81 kB / 1.275 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.9531, allocations: 90.17 kB / 1.275 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9531, allocations: 0 / 1.275 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.973e-06/0.9531, allocations: 4 kB / 1.275 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.9531, allocations: 0 / 1.275 GB, free: 3.195 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.0005458/0.9536, allocations: 377.6 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.9537, allocations: 8.031 kB / 1.276 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.9537, allocations: 12.84 kB / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.954, allocations: 200.1 kB / 1.276 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.954, allocations: 8.375 kB / 1.276 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.954, allocations: 4.375 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.9542, allocations: 93.83 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.9542, allocations: 192 / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.9542, allocations: 7.938 kB / 1.276 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.9542, allocations: 4 kB / 1.276 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.918e-05/0.9543, allocations: 39.92 kB / 1.276 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.9549, allocations: 436.6 kB / 1.276 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.186e-05/0.955, allocations: 49.34 kB / 1.276 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.879e-05/0.955, allocations: 17.78 kB / 1.276 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.955, allocations: 0 / 1.276 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.9551, allocations: 34.56 kB / 1.276 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.9551, allocations: 4 kB / 1.276 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001815/0.9552, allocations: 57.52 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.9553, allocations: 77.11 kB / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.9555, allocations: 161.3 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.9555, allocations: 25.7 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.487e-05/0.9556, allocations: 104 kB / 1.277 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.9556, allocations: 11.95 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.9556, allocations: 17.92 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.9558, allocations: 326.8 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.983e-05/0.9558, allocations: 8 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.451e-05/0.9558, allocations: 13.72 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.33e-05/0.9559, allocations: 25.72 kB / 1.277 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.9559, allocations: 7.938 kB / 1.277 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.759e-05/0.956, allocations: 61.58 kB / 1.277 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.956, allocations: 4 kB / 1.277 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.956, allocations: 7.875 kB / 1.277 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.956, allocations: 4 kB / 1.277 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.236e-05/0.9561, allocations: 4 kB / 1.277 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.9561, allocations: 0 / 1.277 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.755e-05/0.9561, allocations: 15.92 kB / 1.277 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.9561, allocations: 0 / 1.277 GB, free: 0.75 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 8.487e-05/0.9562, allocations: 110.4 kB / 1.277 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.9562, allocations: 15.95 kB / 1.277 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.9563, allocations: 11.81 kB / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.9563, allocations: 0 / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.9563, allocations: 3.938 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.9563, allocations: 0 / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.9567, allocations: 474.8 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.9567, allocations: 0 / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.168e-05/0.9567, allocations: 12 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.9567, allocations: 0 / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.9568, allocations: 4 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.9568, allocations: 0 / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.9568, allocations: 0 / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.9569, allocations: 73.89 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.211e-05/0.9569, allocations: 93.08 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.9569, allocations: 4 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.043e-05/0.957, allocations: 0 / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.957, allocations: 8 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.957, allocations: 96 / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.484e-05/0.9571, allocations: 123.2 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9571, allocations: 0 / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000205/0.9573, allocations: 8 kB / 1.278 GB, free: 15.72 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.0001354/0.9574, allocations: 107.2 kB / 1.278 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.546e-05/0.9575, allocations: 16 kB / 1.278 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.9575, allocations: 0 / 1.278 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.244e-05/0.9575, allocations: 7.938 kB / 1.278 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.9577, allocations: 11.92 kB / 1.278 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.958, allocations: 174.5 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.9584, allocations: 0.6965 MB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.097e-05/0.9584, allocations: 8.422 kB / 1.279 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.9585, allocations: 11.44 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.9585, allocations: 0 / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of Templates: time 0.002953/0.9614, allocations: 481 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.317959835752845]