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.001992/0.001992, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.00162/0.00162, allocations: 166.9 kB / 22.46 MB, free: 5.375 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.541/1.541, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 2.882/2.882, allocations: 377.8 MB / 0.6221 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] 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.262e-06/1.262e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.833e-05/2.96e-05, allocations: 4.953 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002232/0.002261, allocations: 1.243 MB / 0.9826 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008744/0.003136, allocations: 386.7 kB / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.671e-05/0.003162, allocations: 0 / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.507e-05/0.003237, allocations: 3.938 kB / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 1.787e-05/0.003255, allocations: 3.938 kB / 0.983 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005298/0.003785, allocations: 103.6 kB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.817e-05/0.003863, allocations: 23.91 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.862e-05/0.003902, allocations: 0 / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.561e-05/0.003948, allocations: 11.94 kB / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.695e-05/0.003975, allocations: 7.984 kB / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.003991, allocations: 4 kB / 0.9831 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002793/0.004271, allocations: 127.7 kB / 0.9832 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.004322, allocations: 23.92 kB / 0.9833 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.004349, allocations: 7.938 kB / 0.9833 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.004582, allocations: 123.5 kB / 0.9834 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.004586, allocations: 0 / 0.9834 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.062e-06/0.004587, allocations: 0 / 0.9834 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.004591, allocations: 0 / 0.9834 GB, free: 9.926 MB / 0.9356 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.0005302/0.005121, allocations: 342.6 kB / 0.9837 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.005162, allocations: 12.03 kB / 0.9837 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.909e-05/0.005251, allocations: 16.83 kB / 0.9837 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.005391, allocations: 117.7 kB / 0.9839 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.0054, allocations: 384 / 0.9839 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.005416, allocations: 4.375 kB / 0.9839 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.005611, allocations: 142.1 kB / 0.984 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.005619, allocations: 192 / 0.984 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.005628, allocations: 384 / 0.984 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.005632, allocations: 4.375 kB / 0.984 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.627e-05/0.005708, allocations: 63.91 kB / 0.9841 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.005877, allocations: 113.2 kB / 0.9842 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.005982, allocations: 90.48 kB / 0.9843 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.023e-05/0.006052, allocations: 60.88 kB / 0.9843 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.562e-06/0.006059, allocations: 4 kB / 0.9843 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.006294, allocations: 172.2 kB / 0.9845 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=36): time 1.242e-06/0.006296, allocations: 0 / 0.9845 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36): time 0.000582/0.006878, allocations: 402 kB / 0.9849 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.469e-05/0.006962, allocations: 91.36 kB / 0.9849 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.007079, allocations: 117.7 kB / 0.9851 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/0.007133, allocations: 53.69 kB / 0.9851 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.007179, allocations: 80.8 kB / 0.9852 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.007281, allocations: 99.34 kB / 0.9853 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.007396, allocations: 90 kB / 0.9854 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.007565, allocations: 334.8 kB / 0.9857 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.007758, allocations: 144.9 kB / 0.9858 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.008022, allocations: 201.1 kB / 0.986 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/0.008528, allocations: 388.4 kB / 0.9864 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.008532, allocations: 3.938 kB / 0.9864 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000575/0.009107, allocations: 438.4 kB / 0.9868 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.009141, allocations: 4 kB / 0.9868 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.009149, allocations: 0 / 0.9868 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.00917, allocations: 4 kB / 0.9868 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.009286, allocations: 23.92 kB / 0.9868 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.009298, allocations: 7.938 kB / 0.9868 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.722e-05/0.009365, allocations: 31.73 kB / 0.9869 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.009384, allocations: 12 kB / 0.9869 GB, free: 6.125 MB / 0.9356 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.0001974/0.009582, allocations: 181.8 kB / 0.9871 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.0096, allocations: 7.906 kB / 0.9871 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.009624, allocations: 5.312 kB / 0.9871 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.009626, allocations: 4 kB / 0.9871 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.00963, allocations: 0 / 0.9871 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.009635, allocations: 7.938 kB / 0.9871 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.009763, allocations: 129 kB / 0.9872 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.009764, allocations: 0 / 0.9872 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.496e-05/0.009779, allocations: 3.938 kB / 0.9872 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.009781, allocations: 0 / 0.9872 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.009788, allocations: 0 / 0.9872 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.009789, allocations: 4 kB / 0.9872 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.00979, allocations: 0 / 0.9872 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004277/0.01022, allocations: 326.5 kB / 0.9875 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.01024, allocations: 15.84 kB / 0.9875 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.01028, allocations: 23.98 kB / 0.9876 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.654e-05/0.01029, allocations: 4 kB / 0.9876 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.3e-05/0.01032, allocations: 0 / 0.9876 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.01032, allocations: 4 kB / 0.9876 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.547e-05/0.01037, allocations: 83.2 kB / 0.9877 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/0.01037, allocations: 0 / 0.9877 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002916/0.01066, allocations: 47.94 kB / 0.9877 GB, free: 5.238 MB / 0.9356 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.0004842/0.01115, allocations: 234.8 kB / 0.9879 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003642/0.01151, allocations: 261 kB / 0.9882 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01151, allocations: 0 / 0.9882 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.01165, allocations: 71.92 kB / 0.9882 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.01179, allocations: 0 / 0.9882 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.01222, allocations: 283.1 kB / 0.9885 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.487e-05/0.01232, allocations: 97.88 kB / 0.9886 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.723e-05/0.01235, allocations: 16.64 kB / 0.9886 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.01238, allocations: 16.5 kB / 0.9886 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.01238, allocations: 0 / 0.9886 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of Templates: time 0.004947/0.01733, allocations: 1.58 MB / 0.9902 GB, free: 2.688 MB / 0.9356 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: 8.177705530077219]