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.001519/0.001519, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001067/0.001067, allocations: 165 kB / 23.82 MB, free: 0.75 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.9392/0.9392, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.829/1.829, allocations: 359 MB / 0.6052 GB, free: 11.02 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 2.104e-06/2.104e-06, allocations: 0 / 0.7871 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.918e-05/3.128e-05, allocations: 6.312 kB / 0.7871 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002605/0.002636, allocations: 1.251 MB / 0.7883 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006767/0.003313, allocations: 423.7 kB / 0.7887 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.562e-05/0.003338, allocations: 0 / 0.7887 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.003357, allocations: 4.906 kB / 0.7887 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.104e-05/0.003388, allocations: 0 / 0.7887 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006372/0.004026, allocations: 113.1 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.413e-05/0.0041, allocations: 11.98 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.004147, allocations: 0 / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.465e-05/0.004192, allocations: 11.98 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.15e-05/0.004223, allocations: 13.14 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.004239, allocations: 0 / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003053/0.004544, allocations: 135.7 kB / 0.789 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.004559, allocations: 0.6875 kB / 0.789 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.004588, allocations: 4 kB / 0.789 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.004812, allocations: 96.64 kB / 0.7891 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.004815, allocations: 0 / 0.7891 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.152e-06/0.004816, allocations: 0 / 0.7891 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.004821, allocations: 4.656 kB / 0.7891 GB, free: 10.5 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.0004731/0.005294, allocations: 373.7 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.005336, allocations: 12.03 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.00538, allocations: 0.9375 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.005482, allocations: 113 kB / 0.7895 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.005495, allocations: 3.875 kB / 0.7895 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.005509, allocations: 4.375 kB / 0.7895 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.655e-05/0.005606, allocations: 42.22 kB / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.005617, allocations: 192 / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.005627, allocations: 384 / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.005635, allocations: 384 / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.521e-05/0.00566, allocations: 15.88 kB / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.0058, allocations: 120.6 kB / 0.7897 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.841e-05/0.005889, allocations: 35.06 kB / 0.7898 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.543e-05/0.005914, allocations: 12.27 kB / 0.7898 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.826e-06/0.005923, allocations: 4.625 kB / 0.7898 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/0.006027, allocations: 58.72 kB / 0.7898 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/0.006028, allocations: 0 / 0.7898 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001897/0.006218, allocations: 65.61 kB / 0.7899 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.006258, allocations: 51.41 kB / 0.7899 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.98e-05/0.006358, allocations: 166.7 kB / 0.7901 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.006373, allocations: 26.77 kB / 0.7901 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.006418, allocations: 130.9 kB / 0.7902 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.00644, allocations: 11.95 kB / 0.7903 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.006481, allocations: 24.75 kB / 0.7903 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.006622, allocations: 496.1 kB / 0.7908 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.488e-05/0.006647, allocations: 7.984 kB / 0.7908 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-05/0.006689, allocations: 38.75 kB / 0.7908 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.401e-05/0.006763, allocations: 64.55 kB / 0.7909 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.006766, allocations: 0 / 0.7909 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001192/0.006885, allocations: 70.27 kB / 0.7909 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.006904, allocations: 9.844 kB / 0.7909 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.006911, allocations: 0 / 0.7909 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.006928, allocations: 0 / 0.7909 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.459e-05/0.007023, allocations: 15.98 kB / 0.791 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.007031, allocations: 3.938 kB / 0.791 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.576e-05/0.007057, allocations: 0.625 kB / 0.791 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.007066, allocations: 4 kB / 0.791 GB, free: 8.332 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 9.963e-05/0.007166, allocations: 165.2 kB / 0.7911 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.007182, allocations: 1.219 kB / 0.7911 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.155e-05/0.007223, allocations: 7.688 kB / 0.7911 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.007226, allocations: 0 / 0.7911 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.007235, allocations: 0.7656 kB / 0.7911 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.007242, allocations: 9.109 kB / 0.7911 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.007356, allocations: 116.6 kB / 0.7912 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.00736, allocations: 3.984 kB / 0.7913 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.366e-05/0.007383, allocations: 0 / 0.7913 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.007388, allocations: 5 kB / 0.7913 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.007395, allocations: 0 / 0.7913 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.007399, allocations: 5.016 kB / 0.7913 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.007401, allocations: 0 / 0.7913 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.007541, allocations: 104.3 kB / 0.7914 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-06/0.007548, allocations: 0.6875 kB / 0.7914 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.007561, allocations: 3.984 kB / 0.7914 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.318e-05/0.007585, allocations: 5.062 kB / 0.7914 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.528e-05/0.00761, allocations: 4 kB / 0.7914 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.007616, allocations: 0 / 0.7914 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.69e-05/0.007663, allocations: 128.2 kB / 0.7915 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.1e-08/0.007663, allocations: 0 / 0.7915 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002705/0.007934, allocations: 36.7 kB / 0.7915 GB, free: 7.684 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.0004026/0.008336, allocations: 176.8 kB / 0.7917 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.00845, allocations: 35.61 kB / 0.7917 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.008451, allocations: 2.781 kB / 0.7917 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.031e-05/0.008482, allocations: 19.67 kB / 0.7918 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.008626, allocations: 4 kB / 0.7918 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.00889, allocations: 106.3 kB / 0.7919 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.937e-05/0.008929, allocations: 59.34 kB / 0.7919 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.695e-05/0.008956, allocations: 5.594 kB / 0.7919 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.008975, allocations: 8.5 kB / 0.7919 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of SimCode: time 7.22e-07/0.008976, allocations: 0 / 0.7919 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of Templates: time 0.00391/0.01289, allocations: 1.047 MB / 0.793 GB, free: 6.211 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.289238808210939]