Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001316/0.001316, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001424/0.001424, allocations: 215.7 kB / 23.01 MB, free: 4.609 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.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.13/3.13, allocations: 0.49 GB / 0.7958 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 73.64 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.327, allocations: 176.1 MB / 1.327 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001822/0.3288, allocations: 0.6779 MB / 1.328 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.3298, allocations: 0.8436 MB / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.584e-05/0.3298, allocations: 0 / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.465e-05/0.3299, allocations: 0 / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.159e-05/0.3299, allocations: 11.92 kB / 1.329 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.3301, allocations: 15.92 kB / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.829e-05/0.3302, allocations: 31.86 kB / 1.329 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.53e-05/0.3303, allocations: 4 kB / 1.329 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.861e-05/0.3304, allocations: 7.984 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.098e-05/0.3304, allocations: 11.94 kB / 1.329 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.3304, allocations: 4 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.241e-05/0.3305, allocations: 11.98 kB / 1.329 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.3305, allocations: 4 kB / 1.329 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.3305, allocations: 11.92 kB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 9.609e-05/0.3306, allocations: 19.91 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3306, allocations: 4 kB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3306, allocations: 0 / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.3306, allocations: 0 / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004297/0.331, allocations: 262.3 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3311, allocations: 16.03 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.467e-05/0.3312, allocations: 4.922 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.3313, allocations: 110.5 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.3313, allocations: 4.375 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.904e-06/0.3313, allocations: 384 / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.3315, allocations: 50.23 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.3315, allocations: 192 / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3315, allocations: 3.938 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3315, allocations: 0 / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.3317, allocations: 35.97 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.332, allocations: 220 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.3321, allocations: 42.44 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.417e-05/0.3322, allocations: 20.91 kB / 1.33 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.3322, allocations: 4 kB / 1.33 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.3322, allocations: 34.56 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3322, allocations: 0 / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003364/0.3326, allocations: 81.58 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.3326, allocations: 51.41 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.643e-05/0.3327, allocations: 106 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.3327, allocations: 25.7 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.34e-05/0.3328, allocations: 80.14 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.3328, allocations: 15.89 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.3328, allocations: 9.719 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3329, allocations: 318.8 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.133e-05/0.333, allocations: 15.98 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.14e-05/0.3331, allocations: 15.98 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.3332, allocations: 40.81 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3332, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001898/0.3334, allocations: 77.48 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.3334, allocations: 4 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3335, allocations: 4.094 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3335, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.887e-05/0.3335, allocations: 11.98 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3335, allocations: 0 / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.3336, allocations: 12.11 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-06/0.3336, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 8.302e-05/0.3337, allocations: 110.3 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.3337, allocations: 11.94 kB / 1.331 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.3339, allocations: 72.97 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.3339, allocations: 0 / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3339, allocations: 0 / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3339, allocations: 11.92 kB / 1.331 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.3341, allocations: 128.7 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3341, allocations: 0 / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.85e-05/0.3342, allocations: 7.984 kB / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3342, allocations: 4 kB / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.3342, allocations: 8.031 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.3342, allocations: 0 / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3342, allocations: 0 / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.3344, allocations: 163.5 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-06/0.3344, allocations: 0 / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.3344, allocations: 0 / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.902e-05/0.3345, allocations: 12.02 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.3345, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.3345, allocations: 4 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.576e-05/0.3346, allocations: 83.28 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3346, allocations: 0 / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002138/0.3348, allocations: 0 / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001279/0.3349, allocations: 103.2 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.3351, allocations: 35.97 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3351, allocations: 0 / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.694e-05/0.3352, allocations: 23.97 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.3355, allocations: 7.938 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003284/0.3358, allocations: 127.4 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.3362, allocations: 0.6769 MB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.3362, allocations: 7.438 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3362, allocations: 3.938 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of Templates: time 0.002128/0.3383, allocations: 0.5538 MB / 1.332 GB, free: 11.68 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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: 10.746246420982061]