Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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.0007401/0.0007401, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007445/0.0007445, allocations: 173.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.89/0.89, allocations: 177.1 MB / 203.5 MB, free: 5.672 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.655/1.655, allocations: 377.8 MB / 0.6228 GB, free: 8.641 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.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.9821 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.823e-05, allocations: 2.281 kB / 0.9821 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001386/0.001404, allocations: 1.246 MB / 0.9834 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0006197/0.002024, allocations: 390.6 kB / 0.9837 GB, free: 484 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.046e-05/0.002054, allocations: 4 kB / 0.9837 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 8.589e-05/0.00214, allocations: 7.922 kB / 0.9837 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 1.309e-05/0.002153, allocations: 0 / 0.9837 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.00263, allocations: 107.5 kB / 0.9838 GB, free: 364 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.664e-05/0.002687, allocations: 15.92 kB / 0.9839 GB, free: 348 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.119e-05/0.002718, allocations: 0 / 0.9839 GB, free: 348 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.328e-05/0.002751, allocations: 15.98 kB / 0.9839 GB, free: 332 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.15e-05/0.002773, allocations: 7.984 kB / 0.9839 GB, free: 324 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.002784, allocations: 0 / 0.9839 GB, free: 324 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.002966, allocations: 127.7 kB / 0.984 GB, free: 196 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.002998, allocations: 15.94 kB / 0.984 GB, free: 180 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.003022, allocations: 15.92 kB / 0.984 GB, free: 164 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.003177, allocations: 127.5 kB / 0.9842 GB, free: 36 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003179, allocations: 3.938 kB / 0.9842 GB, free: 32 kB / 0.9323 GB Notification: Performance of FrontEnd: time 7.92e-07/0.00318, allocations: 0 / 0.9842 GB, free: 32 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.003184, allocations: 0 / 0.9842 GB, free: 32 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0003801/0.003564, allocations: 334.9 kB / 0.9845 GB, free: 15.67 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.003597, allocations: 12.03 kB / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.795e-05/0.003665, allocations: 8.891 kB / 0.9845 GB, free: 15.65 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.726e-05/0.003742, allocations: 125.5 kB / 0.9846 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.003752, allocations: 384 / 0.9846 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.00376, allocations: 4.375 kB / 0.9846 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.003889, allocations: 142.7 kB / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.003896, allocations: 4.125 kB / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-06/0.003903, allocations: 384 / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.003907, allocations: 384 / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.4e-05/0.003951, allocations: 67.92 kB / 0.9848 GB, free: 15.28 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001147/0.004066, allocations: 125.2 kB / 0.9849 GB, free: 15.13 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.064e-05/0.004127, allocations: 70.59 kB / 0.985 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.00417, allocations: 72.83 kB / 0.9851 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-06/0.004178, allocations: 0 / 0.9851 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.004318, allocations: 172.2 kB / 0.9853 GB, free: 14.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 8.61e-07/0.004319, allocations: 0 / 0.9853 GB, free: 14.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.0003392/0.004658, allocations: 401.4 kB / 0.9856 GB, free: 14.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.004703, allocations: 79.39 kB / 0.9857 GB, free: 14.31 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.365e-05/0.004767, allocations: 125.9 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.004795, allocations: 49.69 kB / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.004824, allocations: 88.8 kB / 0.986 GB, free: 14.03 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.631e-05/0.00488, allocations: 95.34 kB / 0.9861 GB, free: 13.94 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/0.004946, allocations: 90 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.447e-05/0.00503, allocations: 330.8 kB / 0.9865 GB, free: 13.51 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.005144, allocations: 144.8 kB / 0.9866 GB, free: 13.37 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.00529, allocations: 205 kB / 0.9868 GB, free: 13.15 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.005576, allocations: 396.4 kB / 0.9872 GB, free: 12.75 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.005578, allocations: 4 kB / 0.9872 GB, free: 12.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0003315/0.00591, allocations: 422.5 kB / 0.9876 GB, free: 12.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.005923, allocations: 14.59 kB / 0.9876 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.00593, allocations: 0 / 0.9876 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.005943, allocations: 8.031 kB / 0.9876 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.789e-05/0.00601, allocations: 15.92 kB / 0.9876 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.006017, allocations: 7.938 kB / 0.9876 GB, free: 12.28 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.006052, allocations: 31.73 kB / 0.9876 GB, free: 12.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.006063, allocations: 8 kB / 0.9877 GB, free: 12.24 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 69 (state[33],$PRE.state[33],state[32],$PRE.state[32],state[31],$PRE.state[31],state[30],$PRE.state[30],state[29],$PRE.state[29],state[28],$PRE.state[28],state[27],$PRE.state[27],state[26],$PRE.state[26],state[25],$PRE.state[25],state[24],$PRE.state[24],state[23],$PRE.state[23],state[22],$PRE.state[22],state[21],$PRE.state[21],state[20],$PRE.state[20],state[19],$PRE.state[19],state[18],$PRE.state[18],state[17],$PRE.state[17],state[16],$PRE.state[16],state[15],$PRE.state[15],state[14],$PRE.state[14],state[13],$PRE.state[13],state[12],$PRE.state[12],state[11],$PRE.state[11],state[10],$PRE.state[10],state[9],$PRE.state[9],state[8],$PRE.state[8],state[7],$PRE.state[7],state[6],$PRE.state[6],state[5],$PRE.state[5],state[4],$PRE.state[4],state[3],$PRE.state[3],state[2],$PRE.state[2],state[1],$PRE.state[1],y,$PRE.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * Array equations: 1 * 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.000105/0.006168, allocations: 185.8 kB / 0.9878 GB, free: 12.05 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/0.006177, allocations: 15.84 kB / 0.9878 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/0.006197, allocations: 5.312 kB / 0.9879 GB, free: 12.03 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.006199, allocations: 0 / 0.9879 GB, free: 12.03 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.006202, allocations: 4 kB / 0.9879 GB, free: 12.03 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.006208, allocations: 7.938 kB / 0.9879 GB, free: 12.02 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.316e-05/0.006281, allocations: 125 kB / 0.988 GB, free: 11.87 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.006281, allocations: 0 / 0.988 GB, free: 11.87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.007e-05/0.006292, allocations: 4 kB / 0.988 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.006293, allocations: 0 / 0.988 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.006299, allocations: 4 kB / 0.988 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.0063, allocations: 0 / 0.988 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.006301, allocations: 0 / 0.988 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.00653, allocations: 326.5 kB / 0.9883 GB, free: 11.52 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.006541, allocations: 19.84 kB / 0.9883 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.006561, allocations: 23.98 kB / 0.9883 GB, free: 11.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.022e-05/0.006571, allocations: 8 kB / 0.9884 GB, free: 11.47 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.006588, allocations: 0 / 0.9884 GB, free: 11.47 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.006591, allocations: 0 / 0.9884 GB, free: 11.47 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.545e-05/0.006617, allocations: 83.22 kB / 0.9884 GB, free: 11.39 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.006617, allocations: 0 / 0.9884 GB, free: 11.39 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001802/0.006797, allocations: 47.92 kB / 0.9885 GB, free: 11.34 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: 35 ($whenCondition1,y,state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33]) * Number of discrete states: 33 (state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002717/0.007069, allocations: 222.1 kB / 0.9887 GB, free: 11.13 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.007302, allocations: 266.4 kB / 0.9889 GB, free: 10.88 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.007304, allocations: 0 / 0.9889 GB, free: 10.88 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.452e-05/0.007348, allocations: 68.17 kB / 0.989 GB, free: 10.81 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001018/0.00745, allocations: 6.5 kB / 0.989 GB, free: 10.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.007737, allocations: 308.9 kB / 0.9893 GB, free: 10.47 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.945e-05/0.007796, allocations: 101.8 kB / 0.9894 GB, free: 10.35 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.007816, allocations: 20.48 kB / 0.9894 GB, free: 10.33 MB / 0.948 GB Notification: Performance of SimCode: time 4.11e-07/0.007817, allocations: 0 / 0.9894 GB, free: 10.33 MB / 0.948 GB Notification: Performance of Templates: time 0.002638/0.01045, allocations: 2.079 MB / 0.9915 GB, free: 8.254 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_12_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_12_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_12_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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.78284499887377]