Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.0009739/0.0009742, allocations: 91.61 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.001099/0.001099, 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.508/1.508, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.863/2.863, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003632, allocations: 8 kB / 0.9021 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3872, allocations: 159.6 MB / 1.058 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001375/0.3887, allocations: 0.9277 MB / 1.059 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007471/0.3894, allocations: 367.1 kB / 1.059 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.631e-05/0.3895, allocations: 7.938 kB / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.215e-05/0.3895, allocations: 0 / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.558e-05/0.3895, allocations: 0 / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.39, allocations: 79.84 kB / 1.059 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.02e-05/0.39, allocations: 11.92 kB / 1.059 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.303e-05/0.3901, allocations: 4 kB / 1.059 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.447e-05/0.3901, allocations: 8 kB / 1.059 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.801e-05/0.3902, allocations: 7.922 kB / 1.059 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.3902, allocations: 0 / 1.059 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.3904, allocations: 79.92 kB / 1.059 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.3904, allocations: 7.984 kB / 1.059 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.3904, allocations: 33.58 kB / 1.059 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.3906, allocations: 63.89 kB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3906, allocations: 0 / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3906, allocations: 4 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.3906, allocations: 0 / 1.06 GB, free: 3.746 MB / 0.8106 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.0004302/0.391, allocations: 335.3 kB / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.3911, allocations: 8.031 kB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.3911, allocations: 4 kB / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.3913, allocations: 163.4 kB / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.3913, allocations: 0 / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.3913, allocations: 11.94 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.3914, allocations: 45.61 kB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3915, allocations: 0 / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3915, allocations: 0 / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3915, allocations: 0 / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.862e-05/0.3915, allocations: 11.94 kB / 1.06 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.3917, allocations: 157.6 kB / 1.06 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.113e-05/0.3918, allocations: 26.61 kB / 1.06 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.582e-05/0.3918, allocations: 12.86 kB / 1.06 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.3918, allocations: 7.953 kB / 1.06 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.392, allocations: 55.48 kB / 1.06 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 2.936e-06/0.392, allocations: 0 / 1.06 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001994/0.3922, allocations: 73.47 kB / 1.06 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.3923, allocations: 55.39 kB / 1.06 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.936e-05/0.3923, allocations: 97.86 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.3924, allocations: 29.83 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.694e-05/0.3924, allocations: 80.14 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.3924, allocations: 11.91 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.3924, allocations: 0 / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3926, allocations: 314.8 kB / 1.061 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.3926, allocations: 8 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.399e-05/0.3926, allocations: 27.44 kB / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.311e-05/0.3927, allocations: 23.92 kB / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3927, allocations: 0 / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001033/0.3928, allocations: 65.58 kB / 1.061 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3928, allocations: 8 kB / 1.061 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3928, allocations: 0 / 1.061 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.3928, allocations: 0 / 1.061 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.177e-05/0.3929, allocations: 8 kB / 1.061 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3929, allocations: 8.078 kB / 1.061 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.07e-05/0.393, allocations: 11.84 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.393, allocations: 8 kB / 1.061 GB, free: 1.879 MB / 0.8106 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 7.487e-05/0.3931, allocations: 109.8 kB / 1.061 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.3931, allocations: 3.953 kB / 1.061 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.431e-05/0.3931, allocations: 7.5 kB / 1.061 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3931, allocations: 4 kB / 1.061 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3931, allocations: 0 / 1.061 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3931, allocations: 0 / 1.061 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.3933, allocations: 153.7 kB / 1.061 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3933, allocations: 0 / 1.061 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.309e-05/0.3933, allocations: 0 / 1.061 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.3933, allocations: 4.234 kB / 1.061 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.3933, allocations: 7.938 kB / 1.061 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3933, allocations: 3.938 kB / 1.061 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3933, allocations: 0 / 1.061 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.3935, allocations: 89.05 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.3935, allocations: 85.09 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.3935, allocations: 7.938 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.129e-05/0.3936, allocations: 3.953 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.3936, allocations: 0 / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.3936, allocations: 4 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.384e-05/0.3937, allocations: 75.28 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3937, allocations: 0 / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002801/0.3939, allocations: 31.98 kB / 1.062 GB, free: 1.203 MB / 0.8106 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.0003436/0.3943, allocations: 152.3 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.3944, allocations: 31.92 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3944, allocations: 0 / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.658e-05/0.3944, allocations: 8 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.3946, allocations: 4 kB / 1.062 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002846/0.3949, allocations: 123.9 kB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.3952, allocations: 0.6731 MB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.251e-05/0.3952, allocations: 4 kB / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.892e-05/0.3953, allocations: 11.42 kB / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of SimCode: time 1.693e-06/0.3953, allocations: 3.938 kB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of Templates: time 0.003593/0.3989, allocations: 0.9507 MB / 1.064 GB, free: 15.2 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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