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.001394/0.001394, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001675/0.001675, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.797 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.781/2.781, allocations: 476 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) [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.002137/0.002137, allocations: 69.03 kB / 1.117 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3649, allocations: 169.9 MB / 1.283 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002294/0.3672, allocations: 1.231 MB / 1.284 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000873/0.3681, allocations: 392.7 kB / 1.284 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.3681, allocations: 0 / 1.284 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.3681, allocations: 3.938 kB / 1.284 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.957e-05/0.3681, allocations: 4 kB / 1.284 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.3686, allocations: 107.6 kB / 1.284 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.48e-05/0.3687, allocations: 15.98 kB / 1.284 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.401e-05/0.3687, allocations: 0 / 1.284 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.149e-05/0.3687, allocations: 15.91 kB / 1.284 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.329e-05/0.3688, allocations: 4 kB / 1.284 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.3688, allocations: 0 / 1.284 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000275/0.3691, allocations: 131.8 kB / 1.284 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.3691, allocations: 3.984 kB / 1.284 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.3691, allocations: 11.92 kB / 1.284 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.3693, allocations: 88.05 kB / 1.284 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3693, allocations: 0 / 1.284 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3693, allocations: 0 / 1.284 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.3693, allocations: 0 / 1.284 GB, free: 2.266 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.0004453/0.3697, allocations: 274.1 kB / 1.285 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3698, allocations: 8.031 kB / 1.285 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.132e-05/0.3698, allocations: 38.7 kB / 1.285 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.3698, allocations: 4.938 kB / 1.285 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.563e-05/0.3699, allocations: 110.4 kB / 1.285 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.37, allocations: 8.375 kB / 1.285 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.37, allocations: 384 / 1.285 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.3701, allocations: 46.23 kB / 1.285 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.3701, allocations: 3.938 kB / 1.285 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.3701, allocations: 0 / 1.285 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.3701, allocations: 3.984 kB / 1.285 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.44e-05/0.3701, allocations: 4 kB / 1.285 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.3704, allocations: 220 kB / 1.285 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.618e-05/0.3705, allocations: 26.61 kB / 1.285 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.775e-05/0.3706, allocations: 24.84 kB / 1.285 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.3706, allocations: 0 / 1.285 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.3707, allocations: 55.41 kB / 1.285 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3707, allocations: 0 / 1.285 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0001989/0.3709, allocations: 77.61 kB / 1.285 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.3709, allocations: 51.41 kB / 1.285 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.486e-05/0.371, allocations: 105.8 kB / 1.285 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.3711, allocations: 25.7 kB / 1.286 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.3711, allocations: 92.12 kB / 1.286 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.3711, allocations: 12.08 kB / 1.286 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.3712, allocations: 17.72 kB / 1.286 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3713, allocations: 322.8 kB / 1.286 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.054e-05/0.3713, allocations: 4 kB / 1.286 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.322e-05/0.3714, allocations: 35.42 kB / 1.286 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.82e-05/0.3715, allocations: 51.31 kB / 1.286 GB, free: 472 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3715, allocations: 3.938 kB / 1.286 GB, free: 468 kB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001288/0.3716, allocations: 77.5 kB / 1.286 GB, free: 384 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3716, allocations: 12.06 kB / 1.286 GB, free: 372 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3716, allocations: 0 / 1.286 GB, free: 372 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.3716, allocations: 0 / 1.286 GB, free: 372 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.929e-05/0.3717, allocations: 12 kB / 1.286 GB, free: 360 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3717, allocations: 4.25 kB / 1.286 GB, free: 356 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.189e-05/0.3717, allocations: 3.984 kB / 1.286 GB, free: 352 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3717, allocations: 11.94 kB / 1.286 GB, free: 340 kB / 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: 6 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y,y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.437e-05/0.3718, allocations: 121.7 kB / 1.286 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-06/0.3718, allocations: 0 / 1.286 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.993e-05/0.3719, allocations: 7.688 kB / 1.286 GB, free: 204 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3719, allocations: 4 kB / 1.286 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3719, allocations: 4 kB / 1.286 GB, free: 196 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3719, allocations: 0 / 1.286 GB, free: 196 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.3721, allocations: 269.7 kB / 1.287 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3721, allocations: 0 / 1.287 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.27e-05/0.3722, allocations: 7.984 kB / 1.287 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3722, allocations: 0 / 1.287 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.3722, allocations: 0 / 1.287 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3722, allocations: 0 / 1.287 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3722, allocations: 96 / 1.287 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.3724, allocations: 175.4 kB / 1.287 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-06/0.3724, allocations: 7.984 kB / 1.287 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.3724, allocations: 0 / 1.287 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.98e-05/0.3724, allocations: 0 / 1.287 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.3724, allocations: 4 kB / 1.287 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.3724, allocations: 0 / 1.287 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.206e-05/0.3725, allocations: 87.27 kB / 1.287 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3725, allocations: 0 / 1.287 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002789/0.3728, allocations: 31.88 kB / 1.287 GB, free: 15.55 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,y,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008285/0.3736, allocations: 0.7782 MB / 1.288 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.3737, allocations: 35.92 kB / 1.288 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3737, allocations: 0 / 1.288 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.507e-05/0.3737, allocations: 15.98 kB / 1.288 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.3739, allocations: 3.938 kB / 1.288 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.3751, allocations: 1.245 MB / 1.289 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.942e-05/0.3752, allocations: 63.53 kB / 1.289 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.058e-05/0.3752, allocations: 4 kB / 1.289 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.3752, allocations: 23.36 kB / 1.289 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of SimCode: time 7.92e-07/0.3752, allocations: 0 / 1.289 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0288/0.404, allocations: 2.467 MB / 1.291 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.09, allocations: 8.5 kB / 1.291 GB, free: 10.93 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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:mu,seed,time,y [Calling sys.exit(0), Time elapsed: 18.587916203774512]