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.001191/0.001191, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001758/0.001758, allocations: 185 kB / 24.09 MB, free: 412 kB / 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.9307/0.9307, allocations: 177.1 MB / 204.5 MB, free: 5.473 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.741/1.741, allocations: 359 MB / 0.6055 GB, free: 10.91 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.643e-06/1.643e-06, allocations: 0 / 0.7875 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.515e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001457/0.001472, allocations: 1.254 MB / 0.7887 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006016/0.002074, allocations: 415.1 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.63e-05/0.0021, allocations: 5.156 kB / 0.7891 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.002116, allocations: 0 / 0.7891 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.095e-05/0.002147, allocations: 0 / 0.7891 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.0026, allocations: 108 kB / 0.7892 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.085e-05/0.002651, allocations: 20.89 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.073e-05/0.002681, allocations: 0 / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.342e-05/0.002715, allocations: 4 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.978e-05/0.002735, allocations: 9.609 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.002746, allocations: 0 / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.002938, allocations: 131.7 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.002953, allocations: 15.91 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.46e-05/0.002967, allocations: 5.219 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.003109, allocations: 95.75 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.00311, allocations: 0 / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003111, allocations: 0 / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.906e-06/0.003114, allocations: 0.5312 kB / 0.7895 GB, free: 10.2 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.0003041/0.003418, allocations: 376.8 kB / 0.7899 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.00345, allocations: 8.938 kB / 0.7899 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/0.003474, allocations: 4.938 kB / 0.7899 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.79e-05/0.003532, allocations: 109.6 kB / 0.79 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.003541, allocations: 384 / 0.79 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-06/0.003548, allocations: 5.969 kB / 0.79 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.698e-05/0.003605, allocations: 42.23 kB / 0.79 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.003611, allocations: 192 / 0.79 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-06/0.003617, allocations: 384 / 0.79 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.003622, allocations: 3.906 kB / 0.79 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.264e-05/0.003635, allocations: 15.86 kB / 0.7901 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.493e-05/0.00372, allocations: 97.22 kB / 0.7901 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.137e-05/0.003771, allocations: 35.09 kB / 0.7902 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.278e-05/0.003784, allocations: 11.69 kB / 0.7902 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-06/0.003791, allocations: 4 kB / 0.7902 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.395e-05/0.003855, allocations: 61.12 kB / 0.7903 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.003856, allocations: 3.938 kB / 0.7903 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001195/0.003975, allocations: 58.33 kB / 0.7903 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.004005, allocations: 55.41 kB / 0.7904 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.014e-05/0.004065, allocations: 155.5 kB / 0.7905 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.004077, allocations: 33.7 kB / 0.7905 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.02e-05/0.004107, allocations: 126.9 kB / 0.7907 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.004123, allocations: 8.844 kB / 0.7907 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.004149, allocations: 31.36 kB / 0.7907 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.004253, allocations: 0.4883 MB / 0.7912 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.554e-06/0.004261, allocations: 5.031 kB / 0.7912 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.354e-05/0.004284, allocations: 42.67 kB / 0.7912 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.684e-05/0.004321, allocations: 48.09 kB / 0.7913 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004323, allocations: 0 / 0.7913 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.912e-05/0.004382, allocations: 74.78 kB / 0.7913 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.004392, allocations: 6.344 kB / 0.7913 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.004397, allocations: 8 kB / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.004407, allocations: 1.812 kB / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.243e-05/0.00446, allocations: 8 kB / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.004462, allocations: 0 / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.431e-05/0.004477, allocations: 7.938 kB / 0.7914 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.004482, allocations: 0 / 0.7914 GB, free: 8.078 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 6.039e-05/0.004542, allocations: 173.1 kB / 0.7915 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-06/0.004549, allocations: 8.625 kB / 0.7915 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.925e-05/0.004568, allocations: 3.688 kB / 0.7916 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.00457, allocations: 0.5 kB / 0.7916 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.004572, allocations: 1.188 kB / 0.7916 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.004575, allocations: 240 / 0.7916 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.816e-05/0.004633, allocations: 105.2 kB / 0.7917 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.004634, allocations: 0 / 0.7917 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-06/0.00464, allocations: 4.531 kB / 0.7917 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.004642, allocations: 5.203 kB / 0.7917 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-06/0.004645, allocations: 0 / 0.7917 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.004646, allocations: 0 / 0.7917 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.004647, allocations: 0 / 0.7917 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.118e-05/0.004718, allocations: 105.3 kB / 0.7918 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-06/0.004722, allocations: 0 / 0.7918 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-06/0.004729, allocations: 1 kB / 0.7918 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-06/0.004737, allocations: 0 / 0.7918 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.00475, allocations: 4 kB / 0.7918 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.004755, allocations: 8.703 kB / 0.7918 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.796e-05/0.004783, allocations: 124.2 kB / 0.7919 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.004783, allocations: 0 / 0.7919 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001477/0.004931, allocations: 27.88 kB / 0.7919 GB, free: 7.461 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.0002383/0.005169, allocations: 174.6 kB / 0.7921 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.804e-05/0.005237, allocations: 41.8 kB / 0.7921 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.005238, allocations: 0 / 0.7921 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.832e-05/0.005256, allocations: 15.69 kB / 0.7921 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.922e-05/0.005346, allocations: 7.938 kB / 0.7921 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001586/0.005504, allocations: 120.1 kB / 0.7923 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.628e-05/0.00553, allocations: 55.36 kB / 0.7923 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.454e-05/0.005545, allocations: 0 / 0.7923 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.005578, allocations: 70.2 kB / 0.7924 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.005579, allocations: 0 / 0.7924 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of Templates: time 0.002432/0.00801, allocations: 1.179 MB / 0.7935 GB, free: 5.789 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: 4.846219488885254]