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.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.001664/0.001664, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001497/0.001497, allocations: 168.2 kB / 22.46 MB, free: 5.359 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.54/1.54, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.715/2.715, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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 2.325e-06/2.325e-06, allocations: 0 / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.817e-05/4.05e-05, allocations: 6.219 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.00231/0.002351, allocations: 0.7926 MB / 0.9518 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001512/0.002502, allocations: 39.78 kB / 0.9518 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.741e-05/0.002569, allocations: 4 kB / 0.9518 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.913e-05/0.002619, allocations: 7.875 kB / 0.9518 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.002731, allocations: 19.84 kB / 0.9518 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.362e-05/0.002784, allocations: 15.98 kB / 0.9518 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.002928, allocations: 59.84 kB / 0.9519 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.003083, allocations: 27.98 kB / 0.9519 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.158e-05/0.003175, allocations: 43.89 kB / 0.952 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.243e-05/0.003247, allocations: 23.91 kB / 0.952 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.003278, allocations: 4 kB / 0.952 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.00329, allocations: 8 kB / 0.952 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.2e-05/0.003312, allocations: 11.92 kB / 0.952 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.003351, allocations: 23.92 kB / 0.952 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.003489, allocations: 79.58 kB / 0.9521 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.003492, allocations: 0 / 0.9521 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003492, allocations: 0 / 0.9521 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.003496, allocations: 0 / 0.9521 GB, free: 10.43 MB / 0.8575 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.0004673/0.003963, allocations: 312 kB / 0.9524 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.004004, allocations: 8.031 kB / 0.9524 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.004051, allocations: 8.891 kB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.004278, allocations: 137.5 kB / 0.9526 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.004294, allocations: 8.375 kB / 0.9526 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.004311, allocations: 8.375 kB / 0.9526 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.004498, allocations: 94.12 kB / 0.9527 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.004508, allocations: 192 / 0.9527 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.004522, allocations: 4.375 kB / 0.9527 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.004527, allocations: 384 / 0.9527 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.651e-05/0.004614, allocations: 43.8 kB / 0.9527 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.005162, allocations: 368.3 kB / 0.9531 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.707e-05/0.005229, allocations: 37.41 kB / 0.9531 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.852e-05/0.005268, allocations: 21.7 kB / 0.9531 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.005274, allocations: 0 / 0.9531 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.00531, allocations: 34.56 kB / 0.9531 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.005311, allocations: 0 / 0.9531 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001734/0.005485, allocations: 49.84 kB / 0.9532 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.00555, allocations: 81.14 kB / 0.9533 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.005681, allocations: 137.7 kB / 0.9534 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.005707, allocations: 25.7 kB / 0.9534 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.005783, allocations: 107.9 kB / 0.9535 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.005796, allocations: 11.95 kB / 0.9535 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.005827, allocations: 9.719 kB / 0.9535 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.005989, allocations: 318.8 kB / 0.9539 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.006008, allocations: 11.92 kB / 0.9539 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.006041, allocations: 17.72 kB / 0.9539 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.928e-05/0.00609, allocations: 25.72 kB / 0.9539 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.006092, allocations: 0 / 0.9539 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.199e-05/0.006184, allocations: 65.58 kB / 0.954 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.006198, allocations: 4 kB / 0.954 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.006202, allocations: 0 / 0.954 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.006218, allocations: 0 / 0.954 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.512e-05/0.006283, allocations: 8 kB / 0.954 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.006291, allocations: 3.938 kB / 0.954 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.358e-05/0.006315, allocations: 0 / 0.954 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.006325, allocations: 8 kB / 0.954 GB, free: 8.285 MB / 0.8575 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.000117/0.006442, allocations: 117.9 kB / 0.9541 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.006485, allocations: 7.938 kB / 0.9541 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.006512, allocations: 11.47 kB / 0.9541 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.006514, allocations: 0 / 0.9541 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.006518, allocations: 0 / 0.9541 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.006522, allocations: 7.875 kB / 0.9541 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.00695, allocations: 410.5 kB / 0.9545 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.006952, allocations: 0 / 0.9545 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.006975, allocations: 7.938 kB / 0.9545 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.006977, allocations: 4.062 kB / 0.9545 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.006988, allocations: 7.938 kB / 0.9545 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.00699, allocations: 0 / 0.9545 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.006991, allocations: 0 / 0.9545 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.586e-05/0.007087, allocations: 73.94 kB / 0.9546 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.33e-05/0.00711, allocations: 11.95 kB / 0.9546 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.007127, allocations: 7.875 kB / 0.9546 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.807e-05/0.007145, allocations: 0 / 0.9546 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.878e-05/0.007163, allocations: 11.98 kB / 0.9546 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.007165, allocations: 3.938 kB / 0.9546 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.743e-05/0.007253, allocations: 104.2 kB / 0.9547 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.007253, allocations: 0 / 0.9547 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001908/0.007443, allocations: 8 kB / 0.9548 GB, free: 7.43 MB / 0.8575 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.0001298/0.007573, allocations: 99.25 kB / 0.9548 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.989e-05/0.007673, allocations: 8 kB / 0.9549 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.007676, allocations: 0 / 0.9549 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.631e-05/0.007692, allocations: 11.94 kB / 0.9549 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.007848, allocations: 4 kB / 0.9549 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.008204, allocations: 170.9 kB / 0.955 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.711e-05/0.008291, allocations: 79.19 kB / 0.9551 GB, free: 7 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.04e-05/0.008321, allocations: 7.984 kB / 0.9551 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.008346, allocations: 8.5 kB / 0.9551 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of SimCode: time 5.31e-07/0.008346, allocations: 0 / 0.9551 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of Templates: time 0.002732/0.01108, allocations: 341.8 kB / 0.9554 GB, free: 6.656 MB / 0.8575 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.131645109504461]