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.001861/0.001861, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002569/0.002569, allocations: 213.7 kB / 22.25 MB, free: 5.262 MB / 14.72 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.564/1.564, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.987/2.987, allocations: 475.9 MB / 0.7699 GB, free: 4.758 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 70.09 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3714, allocations: 170 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002676/0.3741, allocations: 1.222 MB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009585/0.3751, allocations: 404.6 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.3751, allocations: 4 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.3751, allocations: 4 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.156e-05/0.3751, allocations: 3.938 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005563/0.3757, allocations: 103.7 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6e-05/0.3758, allocations: 19.88 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.3758, allocations: 0 / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.919e-05/0.3758, allocations: 7.984 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.095e-05/0.3759, allocations: 4 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.3759, allocations: 0 / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.3762, allocations: 139.7 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.3762, allocations: 3.938 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.3762, allocations: 4 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.3764, allocations: 87.75 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3764, allocations: 0 / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3764, allocations: 0 / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.3764, allocations: 4 kB / 1.285 GB, free: 9.977 MB / 0.9825 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.0005381/0.377, allocations: 266.2 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.377, allocations: 12.03 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.3771, allocations: 4.891 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.3772, allocations: 114.5 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3772, allocations: 384 / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.3772, allocations: 4.375 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.3773, allocations: 42.23 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3774, allocations: 7.875 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.3774, allocations: 0 / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3774, allocations: 0 / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.032e-05/0.3774, allocations: 8 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.3776, allocations: 105.4 kB / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.395e-05/0.3777, allocations: 22.58 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/0.3777, allocations: 8.859 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.3777, allocations: 8.062 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.3778, allocations: 63.34 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3778, allocations: 0 / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002009/0.378, allocations: 69.61 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.3781, allocations: 55.34 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.43e-05/0.3782, allocations: 97.86 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.3782, allocations: 25.7 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.3783, allocations: 84.08 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.3783, allocations: 15.89 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.3783, allocations: 17.72 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3785, allocations: 319 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.156e-05/0.3785, allocations: 11.98 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.316e-05/0.3785, allocations: 35.38 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.794e-05/0.3786, allocations: 47.36 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3786, allocations: 0 / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001048/0.3787, allocations: 65.62 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3787, allocations: 6.5 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3787, allocations: 8.031 kB / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3787, allocations: 4 kB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.9e-05/0.3788, allocations: 8 kB / 1.286 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3788, allocations: 160 / 1.286 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.778e-05/0.3788, allocations: 3.984 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.3789, allocations: 8 kB / 1.286 GB, free: 8.266 MB / 0.9825 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.0001032/0.379, allocations: 121.8 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-06/0.379, allocations: 0 / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.379, allocations: 7.625 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.379, allocations: 0 / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.379, allocations: 4 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.379, allocations: 4 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.3791, allocations: 117.2 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3791, allocations: 0 / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.3791, allocations: 0 / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.3791, allocations: 0 / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.3791, allocations: 0 / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.3791, allocations: 7.938 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3791, allocations: 0 / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.3793, allocations: 85.05 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-06/0.3793, allocations: 4 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.3793, allocations: 4 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.108e-05/0.3793, allocations: 11.88 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.151e-05/0.3793, allocations: 3.984 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.3793, allocations: 4.281 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.311e-05/0.3794, allocations: 75.28 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3794, allocations: 0 / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002478/0.3796, allocations: 35.92 kB / 1.287 GB, free: 7.73 MB / 0.9825 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.0003882/0.38, allocations: 164.9 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.3801, allocations: 27.92 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3801, allocations: 0 / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.676e-05/0.3802, allocations: 12 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.3803, allocations: 0 / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002643/0.3806, allocations: 101 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.784e-05/0.3806, allocations: 63.34 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.371e-05/0.3807, allocations: 4.188 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.3807, allocations: 11.44 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3807, allocations: 0 / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of Templates: time 0.00384/0.3845, allocations: 1.01 MB / 1.288 GB, free: 6.309 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) [Timeout 400] 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: 9.64132409915328]