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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.538/2.538, allocations: 443.5 MB / 0.7293 GB, free: 14.49 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=2500,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.89 kB / 1.057 GB, free: 2 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3006, allocations: 160.7 MB / 1.214 GB, free: 0.9727 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002212/0.3028, allocations: 1.206 MB / 1.215 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007972/0.3036, allocations: 406.8 kB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.109e-05/0.3036, allocations: 0 / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.3037, allocations: 3.938 kB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.534e-05/0.3037, allocations: 0 / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004667/0.3041, allocations: 103.6 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.825e-05/0.3042, allocations: 15.98 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.759e-05/0.3042, allocations: 8 kB / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.651e-05/0.3043, allocations: 0 / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.627e-05/0.3043, allocations: 7.984 kB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.3043, allocations: 0 / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.3045, allocations: 107.8 kB / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.3045, allocations: 7.969 kB / 1.216 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.3045, allocations: 4 kB / 1.216 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.3047, allocations: 79.77 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3047, allocations: 3.938 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.143e-06/0.3047, allocations: 0 / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3047, allocations: 0 / 1.216 GB, free: 15.02 MB / 0.9669 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.0004655/0.3052, allocations: 355.3 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.3052, allocations: 8.031 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.3053, allocations: 4.938 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.3054, allocations: 160.4 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.3054, allocations: 384 / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.3054, allocations: 8.375 kB / 1.216 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.493e-05/0.3055, allocations: 42.17 kB / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3055, allocations: 192 / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.3055, allocations: 7.938 kB / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3055, allocations: 3.984 kB / 1.216 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.253e-05/0.3055, allocations: 4 kB / 1.216 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.3057, allocations: 157.6 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.684e-05/0.3058, allocations: 26.72 kB / 1.217 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/0.3058, allocations: 12.84 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.3058, allocations: 0 / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.306, allocations: 64.06 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.306, allocations: 0 / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001912/0.3061, allocations: 77.56 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.3062, allocations: 51.41 kB / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.599e-05/0.3063, allocations: 97.84 kB / 1.217 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.3063, allocations: 25.7 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.3063, allocations: 84.27 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.3063, allocations: 15.89 kB / 1.217 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.3064, allocations: 17.72 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3065, allocations: 318.8 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.922e-05/0.3065, allocations: 7.938 kB / 1.217 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.385e-05/0.3066, allocations: 39.41 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.325e-05/0.3066, allocations: 47.38 kB / 1.217 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3066, allocations: 4 kB / 1.217 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.605e-05/0.3067, allocations: 57.62 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3068, allocations: 11.94 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3068, allocations: 0 / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3068, allocations: 0 / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.517e-05/0.3069, allocations: 19.98 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3069, allocations: 4.094 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/0.3069, allocations: 7.953 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.3069, allocations: 3.938 kB / 1.218 GB, free: 13.05 MB / 0.9669 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.459e-05/0.307, allocations: 113.8 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.307, allocations: 3.938 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.099e-05/0.307, allocations: 7.438 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.307, allocations: 4.234 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.307, allocations: 0 / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.307, allocations: 7.984 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.3071, allocations: 157.7 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3071, allocations: 0 / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.299e-05/0.3072, allocations: 0 / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3072, allocations: 11.88 kB / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.3072, allocations: 0 / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3072, allocations: 0 / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3072, allocations: 0 / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.3073, allocations: 85.05 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.3073, allocations: 89.06 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.3074, allocations: 3.938 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.888e-05/0.3074, allocations: 0 / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.3074, allocations: 0 / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.3074, allocations: 7.984 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.854e-05/0.3074, allocations: 79.28 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3074, allocations: 0 / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002313/0.3077, allocations: 23.94 kB / 1.218 GB, free: 12.37 MB / 0.9669 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.0003468/0.308, allocations: 159.7 kB / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.3081, allocations: 27.92 kB / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3081, allocations: 3.938 kB / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.274e-05/0.3082, allocations: 11.98 kB / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.3083, allocations: 4 kB / 1.218 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002406/0.3085, allocations: 134.8 kB / 1.218 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.3088, allocations: 0.6768 MB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.637e-05/0.3088, allocations: 7.438 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.3088, allocations: 0 / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of Templates: time 0.002983/0.3118, allocations: 1.159 MB / 1.22 GB, free: 10.14 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.743366674985737]