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.001865/0.001865, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002049/0.002049, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.577/1.577, 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.874/2.874, allocations: 359 MB / 0.6048 GB, free: 10.94 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 5.6e-06/5.6e-06, allocations: 4 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.115e-05/3.675e-05, allocations: 5.688 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002477/0.002514, allocations: 1.233 MB / 0.7875 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009647/0.003479, allocations: 415.2 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.074e-05/0.003499, allocations: 0 / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.306e-05/0.003513, allocations: 0.9062 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.831e-05/0.003551, allocations: 7.922 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005446/0.004095, allocations: 108.3 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.85e-05/0.004154, allocations: 15.98 kB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.014e-05/0.004184, allocations: 0.5625 kB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.26e-05/0.004217, allocations: 4 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.029e-05/0.004247, allocations: 12.92 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.004261, allocations: 0 / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003019/0.004563, allocations: 135.6 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.00458, allocations: 8.688 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.004606, allocations: 8 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.00482, allocations: 96.61 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004822, allocations: 0 / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.21e-07/0.004823, allocations: 1.031 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.004827, allocations: 0 / 0.7883 GB, free: 10.82 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.0005453/0.005372, allocations: 376.9 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.005409, allocations: 12.03 kB / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.005452, allocations: 2.406 kB / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.005568, allocations: 108.6 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.00558, allocations: 384 / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.005592, allocations: 4.375 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.0057, allocations: 45.28 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.005708, allocations: 192 / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.005717, allocations: 384 / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.005721, allocations: 384 / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.075e-05/0.005751, allocations: 11.92 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.005917, allocations: 116.6 kB / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.006024, allocations: 39.09 kB / 0.789 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.867e-05/0.006053, allocations: 11.69 kB / 0.789 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.006064, allocations: 1.125 kB / 0.789 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.006182, allocations: 69.06 kB / 0.7891 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.006183, allocations: 0.5938 kB / 0.7891 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002142/0.006397, allocations: 70.86 kB / 0.7892 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.006448, allocations: 51.41 kB / 0.7892 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.006574, allocations: 157.9 kB / 0.7894 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.006595, allocations: 26.3 kB / 0.7894 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.711e-05/0.006672, allocations: 135.6 kB / 0.7895 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.006692, allocations: 11.83 kB / 0.7895 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.006744, allocations: 32.73 kB / 0.7896 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002753/0.007019, allocations: 496.1 kB / 0.79 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.21e-05/0.007041, allocations: 4 kB / 0.79 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.858e-05/0.0071, allocations: 46.73 kB / 0.7901 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.293e-05/0.007183, allocations: 60.38 kB / 0.7901 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.007185, allocations: 3.938 kB / 0.7901 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001213/0.007306, allocations: 75.09 kB / 0.7902 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.007319, allocations: 4 kB / 0.7902 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.007325, allocations: 4.562 kB / 0.7902 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.007337, allocations: 0 / 0.7902 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.769e-05/0.007415, allocations: 13.62 kB / 0.7902 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.007425, allocations: 7.938 kB / 0.7902 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.201e-05/0.007447, allocations: 0 / 0.7902 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.00746, allocations: 7.984 kB / 0.7902 GB, free: 8.629 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.0001211/0.007581, allocations: 158.8 kB / 0.7904 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.007594, allocations: 4 kB / 0.7904 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.007619, allocations: 3.688 kB / 0.7904 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.007621, allocations: 0 / 0.7904 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.007623, allocations: 0 / 0.7904 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.00763, allocations: 8.469 kB / 0.7904 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003514/0.007982, allocations: 112.6 kB / 0.7905 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.007985, allocations: 8.719 kB / 0.7905 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.477e-05/0.008, allocations: 0 / 0.7905 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.008001, allocations: 0.5 kB / 0.7905 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.008008, allocations: 1.594 kB / 0.7905 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.008012, allocations: 4 kB / 0.7905 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.008013, allocations: 0 / 0.7905 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.008179, allocations: 108.2 kB / 0.7906 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-06/0.008184, allocations: 0.625 kB / 0.7906 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.008195, allocations: 0 / 0.7906 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.943e-05/0.008214, allocations: 0.8125 kB / 0.7906 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.008239, allocations: 7.984 kB / 0.7906 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.008244, allocations: 0.5625 kB / 0.7906 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.967e-05/0.008324, allocations: 128.2 kB / 0.7908 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008324, allocations: 0 / 0.7908 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002385/0.008563, allocations: 31.92 kB / 0.7908 GB, free: 7.996 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.0004731/0.009036, allocations: 181.9 kB / 0.791 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.009156, allocations: 41.58 kB / 0.791 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.009157, allocations: 0 / 0.791 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.619e-05/0.009193, allocations: 15.69 kB / 0.791 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.009322, allocations: 7.984 kB / 0.791 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002624/0.009584, allocations: 115.9 kB / 0.7911 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.95e-05/0.009644, allocations: 59.36 kB / 0.7912 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.05e-05/0.009664, allocations: 6.422 kB / 0.7912 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.009693, allocations: 12.5 kB / 0.7912 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.009693, allocations: 0 / 0.7912 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of Templates: time 0.00417/0.01386, allocations: 1.042 MB / 0.7922 GB, free: 6.508 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","/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: 8.029332811012864]