Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008804/0.00088, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.656/1.656, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.869/2.869, allocations: 437.7 MB / 0.7117 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006165/0.0006167, allocations: 8 kB / 0.8722 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7829/0.7836, allocations: 153.8 MB / 1.022 GB, free: 0 / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002154/0.7858, allocations: 0.9292 MB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009527/0.7868, allocations: 371 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.7868, allocations: 0 / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.7869, allocations: 3.938 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.711e-05/0.787, allocations: 11.98 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005034/0.7875, allocations: 71.86 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.981e-05/0.7875, allocations: 11.94 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.264e-05/0.7876, allocations: 7.984 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.463e-05/0.7876, allocations: 0 / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.205e-05/0.7877, allocations: 7.984 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.7877, allocations: 0 / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.7879, allocations: 87.84 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.7879, allocations: 3.984 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.788, allocations: 33.7 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.7881, allocations: 55.92 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.7881, allocations: 0 / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.977e-06/0.7881, allocations: 0 / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.7882, allocations: 3.938 kB / 1.024 GB, free: 14.4 MB / 0.7794 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.0004614/0.7886, allocations: 343.3 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.7887, allocations: 8.562 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.7887, allocations: 4 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.7889, allocations: 161 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.7889, allocations: 0 / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.789, allocations: 11.94 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.7891, allocations: 41.62 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.7891, allocations: 0 / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.7891, allocations: 4 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.7891, allocations: 0 / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.25e-05/0.7892, allocations: 4 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.7894, allocations: 153.7 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.691e-05/0.7895, allocations: 34.55 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.161e-05/0.7896, allocations: 12.86 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.7896, allocations: 0 / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002074/0.7898, allocations: 55.45 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.7898, allocations: 0 / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002822/0.7901, allocations: 69.8 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.7902, allocations: 51.41 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.7903, allocations: 109.8 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.7903, allocations: 25.7 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.7904, allocations: 80.14 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.7904, allocations: 11.91 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-06/0.7904, allocations: 3.938 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.7906, allocations: 310.8 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/0.7906, allocations: 11.98 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.796e-05/0.7907, allocations: 35.56 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.209e-05/0.7907, allocations: 15.97 kB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7907, allocations: 3.938 kB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001124/0.7908, allocations: 61.62 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.7909, allocations: 13.05 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.7909, allocations: 0 / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.7909, allocations: 4.094 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.693e-05/0.791, allocations: 8 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.791, allocations: 0 / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.475e-05/0.7911, allocations: 15.94 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.7911, allocations: 0 / 1.026 GB, free: 12.54 MB / 0.7794 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.7912, allocations: 117.8 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.7913, allocations: 3.906 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.963e-05/0.7913, allocations: 11.45 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.7913, allocations: 7.938 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.7913, allocations: 4 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7913, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.7915, allocations: 153.7 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7915, allocations: 0 / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.439e-05/0.7915, allocations: 4 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.7916, allocations: 0 / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.7916, allocations: 4 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.208e-06/0.7916, allocations: 7.938 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.7916, allocations: 0 / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.7917, allocations: 85.06 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.7918, allocations: 77.11 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.7918, allocations: 7.984 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.82e-05/0.7918, allocations: 0 / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.7919, allocations: 3.953 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.7919, allocations: 4 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.218e-05/0.792, allocations: 79.28 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.792, allocations: 0 / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002824/0.7923, allocations: 23.98 kB / 1.026 GB, free: 11.86 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004352/0.7927, allocations: 170.2 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.7928, allocations: 27.92 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.7928, allocations: 0 / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.15e-05/0.7929, allocations: 8 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.793, allocations: 13.03 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002937/0.7933, allocations: 112.5 kB / 1.026 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.7937, allocations: 0.677 MB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.411e-05/0.7937, allocations: 4 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.643e-05/0.7938, allocations: 7.438 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.7938, allocations: 0 / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of Templates: time 0.003616/0.7974, allocations: 0.9406 MB / 1.028 GB, free: 9.855 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:seed,t0,time,y