Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.000779/0.000779, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007898/0.0007898, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.8708/0.8708, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.748/1.748, allocations: 377.9 MB / 0.6228 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] 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.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.9823 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.137e-05, allocations: 6.281 kB / 0.9823 GB, free: 2 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001135/0.001156, allocations: 0.7028 MB / 0.9829 GB, free: 1.297 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000706/0.001862, allocations: 0.8237 MB / 0.9838 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.283e-05/0.001895, allocations: 0 / 0.9838 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.888e-05/0.001924, allocations: 11.94 kB / 0.9838 GB, free: 460 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.835e-05/0.001982, allocations: 3.938 kB / 0.9838 GB, free: 456 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 6.456e-05/0.002047, allocations: 11.92 kB / 0.9838 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.489e-05/0.002122, allocations: 51.84 kB / 0.9838 GB, free: 392 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.338e-05/0.002215, allocations: 3.938 kB / 0.9838 GB, free: 388 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.894e-05/0.002284, allocations: 35.89 kB / 0.9839 GB, free: 352 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.526e-05/0.002319, allocations: 15.98 kB / 0.9839 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.002342, allocations: 4 kB / 0.9839 GB, free: 332 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.332e-06/0.002349, allocations: 4 kB / 0.9839 GB, free: 328 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.002364, allocations: 7.984 kB / 0.9839 GB, free: 320 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.002384, allocations: 15.94 kB / 0.9839 GB, free: 304 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 7.955e-05/0.002463, allocations: 39.92 kB / 0.984 GB, free: 264 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.002465, allocations: 0 / 0.984 GB, free: 264 kB / 0.9323 GB Notification: Performance of FrontEnd: time 6.81e-07/0.002466, allocations: 0 / 0.984 GB, free: 264 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.002469, allocations: 0 / 0.984 GB, free: 264 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00067/0.003139, allocations: 282.2 kB / 0.9842 GB, free: 15.95 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.003173, allocations: 12.03 kB / 0.9842 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.003198, allocations: 4.891 kB / 0.9842 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.595e-05/0.003274, allocations: 117.7 kB / 0.9843 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.003286, allocations: 12.31 kB / 0.9844 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.003294, allocations: 4.375 kB / 0.9844 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.00345, allocations: 70.16 kB / 0.9844 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.003457, allocations: 192 / 0.9844 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.003466, allocations: 384 / 0.9844 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.00347, allocations: 384 / 0.9844 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.003612, allocations: 71.86 kB / 0.9845 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002763/0.003888, allocations: 208.6 kB / 0.9847 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.00401, allocations: 54.47 kB / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.517e-05/0.004085, allocations: 36.92 kB / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.004096, allocations: 0 / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.004118, allocations: 34.56 kB / 0.9848 GB, free: 15.25 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.004119, allocations: 3.938 kB / 0.9848 GB, free: 15.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0003078/0.004426, allocations: 133.5 kB / 0.985 GB, free: 15.11 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.004454, allocations: 51.41 kB / 0.985 GB, free: 15.05 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.984e-05/0.004513, allocations: 109.8 kB / 0.9851 GB, free: 14.93 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.407e-06/0.004523, allocations: 29.64 kB / 0.9851 GB, free: 14.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.004557, allocations: 88.14 kB / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.004575, allocations: 15.84 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.004601, allocations: 17.72 kB / 0.9853 GB, free: 14.77 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.812e-05/0.004669, allocations: 314.8 kB / 0.9856 GB, free: 14.45 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.049e-05/0.00474, allocations: 27.97 kB / 0.9856 GB, free: 14.43 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.458e-05/0.004804, allocations: 35.95 kB / 0.9856 GB, free: 14.39 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.004939, allocations: 69.06 kB / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.004941, allocations: 0 / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001553/0.005097, allocations: 97.61 kB / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.005109, allocations: 11.94 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.005113, allocations: 0 / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.005124, allocations: 0 / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.434e-05/0.005198, allocations: 23.92 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.005202, allocations: 0 / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.409e-05/0.005236, allocations: 7.984 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.005243, allocations: 4 kB / 0.9858 GB, free: 14.17 MB / 0.948 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 (3): * Single equations (assignments): 3 * 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 4.844e-05/0.005291, allocations: 113.8 kB / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.005305, allocations: 7.953 kB / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.958e-05/0.005325, allocations: 15.94 kB / 0.9859 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.005326, allocations: 3.938 kB / 0.986 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.00533, allocations: 0 / 0.986 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.005332, allocations: 4 kB / 0.986 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.276e-05/0.005415, allocations: 109.3 kB / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.005415, allocations: 0 / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.005455, allocations: 15.98 kB / 0.9861 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.005455, allocations: 0 / 0.9861 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.005462, allocations: 3.984 kB / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.005463, allocations: 3.938 kB / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.005464, allocations: 0 / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.005649, allocations: 203.4 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-06/0.005654, allocations: 0 / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.005663, allocations: 0 / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.177e-05/0.005715, allocations: 15.92 kB / 0.9863 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.005747, allocations: 7.984 kB / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.005749, allocations: 0 / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.887e-05/0.005778, allocations: 91.56 kB / 0.9864 GB, free: 13.53 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005778, allocations: 0 / 0.9864 GB, free: 13.53 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001488/0.005927, allocations: 11.94 kB / 0.9864 GB, free: 13.52 MB / 0.948 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 (3): * Single equations (assignments): 3 * 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 6.928e-05/0.005996, allocations: 103.8 kB / 0.9865 GB, free: 13.41 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001773/0.006174, allocations: 63.92 kB / 0.9866 GB, free: 13.34 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.006175, allocations: 0 / 0.9866 GB, free: 13.34 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.286e-05/0.006248, allocations: 39.89 kB / 0.9866 GB, free: 13.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.006441, allocations: 8 kB / 0.9866 GB, free: 13.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002346/0.006676, allocations: 154.5 kB / 0.9868 GB, free: 13.11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.972e-05/0.006716, allocations: 63.34 kB / 0.9868 GB, free: 13.03 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.006743, allocations: 8.5 kB / 0.9868 GB, free: 13.02 MB / 0.948 GB Notification: Performance of SimCode: time 4.71e-07/0.006743, allocations: 0 / 0.9868 GB, free: 13.02 MB / 0.948 GB Notification: Performance of Templates: time 0.001419/0.008162, allocations: 0.7813 MB / 0.9876 GB, free: 12.25 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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: 6.6398150734603405]