Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001898/0.001898, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00244/0.00244, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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 1.659/1.659, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 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.867/2.867, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 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.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.7863 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.196e-05/3.386e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002916/0.00295, allocations: 1.231 MB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009671/0.003917, allocations: 408.4 kB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.421e-05/0.003941, allocations: 0 / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.962e-05/0.003961, allocations: 0 / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.677e-05/0.003997, allocations: 3.938 kB / 0.7879 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005658/0.004563, allocations: 112.2 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.462e-05/0.004618, allocations: 9.219 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.51e-05/0.004663, allocations: 0 / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.17e-05/0.004705, allocations: 11.98 kB / 0.7881 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.016e-05/0.004735, allocations: 12.83 kB / 0.7881 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.004753, allocations: 3.984 kB / 0.7881 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.005048, allocations: 127.7 kB / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.005063, allocations: 4.547 kB / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.005096, allocations: 4.688 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.005315, allocations: 103.7 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.005317, allocations: 0.9062 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.42e-07/0.005318, allocations: 0 / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.005322, allocations: 4.656 kB / 0.7883 GB, free: 10.86 MB / 0.7448 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.0005189/0.005841, allocations: 266.9 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.005885, allocations: 12.03 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.005941, allocations: 2.594 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.006076, allocations: 113.8 kB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.00609, allocations: 384 / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.006104, allocations: 4.375 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.006217, allocations: 35.59 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.006226, allocations: 192 / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.006236, allocations: 4.312 kB / 0.7887 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.006241, allocations: 384 / 0.7887 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.071e-05/0.006271, allocations: 13.53 kB / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.00644, allocations: 101.3 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.473e-05/0.006535, allocations: 30.61 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.006565, allocations: 12.84 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.006578, allocations: 7.438 kB / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.006711, allocations: 55.39 kB / 0.7889 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.006712, allocations: 0 / 0.7889 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002186/0.00693, allocations: 69.67 kB / 0.789 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.006981, allocations: 55.41 kB / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.484e-05/0.007076, allocations: 97.78 kB / 0.7892 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.007099, allocations: 33.7 kB / 0.7892 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.007149, allocations: 80.67 kB / 0.7893 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.007166, allocations: 3.953 kB / 0.7893 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.007212, allocations: 26.33 kB / 0.7893 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.007408, allocations: 315.4 kB / 0.7896 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/0.007428, allocations: 4 kB / 0.7896 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.5e-05/0.007503, allocations: 44.14 kB / 0.7896 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.776e-05/0.007601, allocations: 48.28 kB / 0.7897 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.007603, allocations: 0.5312 kB / 0.7897 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00012/0.007723, allocations: 70.95 kB / 0.7898 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.007735, allocations: 7.938 kB / 0.7898 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.007745, allocations: 9.266 kB / 0.7898 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.007761, allocations: 0 / 0.7898 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.127e-05/0.007833, allocations: 8 kB / 0.7898 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.007843, allocations: 7.875 kB / 0.7898 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.716e-05/0.00787, allocations: 4.562 kB / 0.7898 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.007881, allocations: 4.75 kB / 0.7898 GB, free: 9.156 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001016/0.007983, allocations: 113.8 kB / 0.7899 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.007994, allocations: 1 kB / 0.7899 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.008029, allocations: 11.67 kB / 0.7899 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.008033, allocations: 4.938 kB / 0.7899 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.008037, allocations: 0 / 0.7899 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.008043, allocations: 3.938 kB / 0.7899 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.008159, allocations: 103.5 kB / 0.79 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.00816, allocations: 0 / 0.79 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.34e-05/0.008173, allocations: 0 / 0.79 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.008175, allocations: 0 / 0.79 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.008187, allocations: 7.984 kB / 0.79 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.008188, allocations: 0 / 0.79 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.008189, allocations: 3.094 kB / 0.79 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.008351, allocations: 96.94 kB / 0.7901 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-06/0.008358, allocations: 4 kB / 0.7901 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.008369, allocations: 0 / 0.7901 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.973e-05/0.008389, allocations: 0 / 0.7901 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.008412, allocations: 4.281 kB / 0.7901 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.008417, allocations: 0 / 0.7901 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.441e-05/0.008471, allocations: 87.2 kB / 0.7902 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008471, allocations: 1.281 kB / 0.7902 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002416/0.008713, allocations: 27.94 kB / 0.7902 GB, free: 8.641 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004065/0.009119, allocations: 182.8 kB / 0.7904 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.009229, allocations: 32.92 kB / 0.7904 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.009231, allocations: 0 / 0.7904 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.938e-05/0.00928, allocations: 15.97 kB / 0.7905 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.00942, allocations: 6.938 kB / 0.7905 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/0.009686, allocations: 108.7 kB / 0.7906 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.877e-05/0.009745, allocations: 60.88 kB / 0.7906 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.358e-05/0.009768, allocations: 7.938 kB / 0.7906 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.217e-05/0.00979, allocations: 9.312 kB / 0.7906 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of SimCode: time 4.8e-07/0.009791, allocations: 0 / 0.7906 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of Templates: time 0.003956/0.01375, allocations: 1.042 MB / 0.7917 GB, free: 7.18 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:seed,t0,time,y [Calling sys.exit(0), Time elapsed: 7.975671191001311]