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.000934/0.000934, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.000997/0.000997, allocations: 166 kB / 24.87 MB, free: 9.258 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.949/0.949, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 1.805/1.805, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] 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.613e-06/1.613e-06, allocations: 0 / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/2.961e-05, allocations: 3.188 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001917/0.001947, allocations: 1.257 MB / 0.7895 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006369/0.002584, allocations: 419.9 kB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.708e-05/0.002611, allocations: 0 / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.002627, allocations: 2.562 kB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.553e-05/0.002663, allocations: 3.938 kB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.003145, allocations: 111.5 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.971e-05/0.003195, allocations: 11.92 kB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.513e-05/0.00323, allocations: 4 kB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.167e-05/0.003261, allocations: 11.98 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.171e-05/0.003283, allocations: 9.641 kB / 0.79 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.003295, allocations: 0 / 0.79 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.00351, allocations: 131.7 kB / 0.7902 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.003523, allocations: 0 / 0.7902 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.879e-05/0.003542, allocations: 7.938 kB / 0.7902 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.003695, allocations: 100.3 kB / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003698, allocations: 0.6562 kB / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.132e-06/0.003699, allocations: 0 / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.003702, allocations: 1 kB / 0.7903 GB, free: 10.21 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.0003816/0.004084, allocations: 372.2 kB / 0.7906 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.004124, allocations: 13.19 kB / 0.7906 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.004153, allocations: 0.9375 kB / 0.7906 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.017e-05/0.004233, allocations: 113 kB / 0.7908 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.004246, allocations: 5.75 kB / 0.7908 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.004254, allocations: 4.375 kB / 0.7908 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.712e-05/0.004321, allocations: 38.19 kB / 0.7908 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.004327, allocations: 6 kB / 0.7908 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.004334, allocations: 384 / 0.7908 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.004338, allocations: 384 / 0.7908 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.138e-05/0.00435, allocations: 7.938 kB / 0.7908 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001023/0.004452, allocations: 101.2 kB / 0.7909 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.611e-05/0.004518, allocations: 36.59 kB / 0.7909 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.661e-05/0.004535, allocations: 11.69 kB / 0.791 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.141e-06/0.004541, allocations: 0 / 0.791 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.01e-05/0.004631, allocations: 57.62 kB / 0.791 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.004631, allocations: 1.938 kB / 0.791 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001497/0.004781, allocations: 61.67 kB / 0.7911 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.00482, allocations: 55.41 kB / 0.7911 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.442e-05/0.004894, allocations: 165.8 kB / 0.7913 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.004905, allocations: 28.27 kB / 0.7913 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.005155, allocations: 126.9 kB / 0.7914 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.005177, allocations: 7.953 kB / 0.7914 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.005209, allocations: 27.36 kB / 0.7915 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.005324, allocations: 0.4922 MB / 0.7919 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.005337, allocations: 3.938 kB / 0.7919 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.298e-05/0.00537, allocations: 46.72 kB / 0.792 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.888e-05/0.005429, allocations: 56.11 kB / 0.792 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.005431, allocations: 0.5312 kB / 0.792 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.191e-05/0.005513, allocations: 63.2 kB / 0.7921 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.005531, allocations: 8 kB / 0.7921 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.005539, allocations: 0 / 0.7921 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.005549, allocations: 0.5625 kB / 0.7921 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.00565, allocations: 19.98 kB / 0.7921 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.005655, allocations: 4.531 kB / 0.7921 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.044e-05/0.005675, allocations: 4.719 kB / 0.7921 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.005684, allocations: 4 kB / 0.7921 GB, free: 8.074 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 8.203e-05/0.005766, allocations: 157.5 kB / 0.7923 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.178e-06/0.005775, allocations: 0 / 0.7923 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.866e-05/0.005804, allocations: 8.469 kB / 0.7923 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.005809, allocations: 7.984 kB / 0.7923 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.005812, allocations: 5.125 kB / 0.7923 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.005816, allocations: 3.938 kB / 0.7923 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.656e-05/0.005902, allocations: 101.2 kB / 0.7924 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.005904, allocations: 0.8438 kB / 0.7924 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.185e-05/0.005916, allocations: 0 / 0.7924 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.005918, allocations: 1.438 kB / 0.7924 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.005925, allocations: 4 kB / 0.7924 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.005927, allocations: 3.984 kB / 0.7924 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.005928, allocations: 0 / 0.7924 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.006032, allocations: 97.36 kB / 0.7925 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.006042, allocations: 8 kB / 0.7925 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-06/0.006052, allocations: 3.984 kB / 0.7925 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.107e-05/0.006063, allocations: 1.969 kB / 0.7925 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.006082, allocations: 0 / 0.7925 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.006087, allocations: 4 kB / 0.7925 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.632e-05/0.006123, allocations: 119.2 kB / 0.7926 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006123, allocations: 0 / 0.7926 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001997/0.006323, allocations: 38.23 kB / 0.7927 GB, free: 7.465 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.0003589/0.006682, allocations: 170.8 kB / 0.7928 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.736e-05/0.006769, allocations: 33.48 kB / 0.7929 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.006771, allocations: 0 / 0.7929 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-05/0.006791, allocations: 19.67 kB / 0.7929 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001098/0.006901, allocations: 13.06 kB / 0.7929 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002182/0.007119, allocations: 114.3 kB / 0.793 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.492e-05/0.007154, allocations: 59.34 kB / 0.7931 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.203e-05/0.007176, allocations: 5.094 kB / 0.7931 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.007213, allocations: 66.2 kB / 0.7931 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of SimCode: time 1.323e-06/0.007214, allocations: 4.594 kB / 0.7932 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of Templates: time 0.002973/0.01019, allocations: 1.184 MB / 0.7943 GB, free: 5.777 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","",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 filterSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.diff.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] filterSimulationResults("/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.ref.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.039558248128742]