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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00117/0.00117, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001276/0.001276, allocations: 195 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.806/2.806, allocations: 461.9 MB / 0.7342 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 61.61 kB / 0.8984 GB, free: 37.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3789, allocations: 157.4 MB / 1.052 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002231/0.3811, allocations: 1.277 MB / 1.053 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007698/0.3819, allocations: 410.8 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.88e-05/0.382, allocations: 0 / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.382, allocations: 0 / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.42e-05/0.382, allocations: 0 / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.3824, allocations: 79.8 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.472e-05/0.3825, allocations: 11.98 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.76e-05/0.3825, allocations: 4 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.906e-05/0.3826, allocations: 11.94 kB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.074e-05/0.3826, allocations: 3.984 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.3826, allocations: 4 kB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.3828, allocations: 91.84 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.3828, allocations: 0 / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.3828, allocations: 15.92 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.383, allocations: 79.81 kB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.383, allocations: 0 / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.112e-06/0.383, allocations: 3.938 kB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.383, allocations: 4 kB / 1.054 GB, free: 6.844 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.0004332/0.3835, allocations: 347.5 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.3835, allocations: 11.97 kB / 1.054 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.3835, allocations: 0.9375 kB / 1.054 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.3837, allocations: 164.7 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.3837, allocations: 4.375 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.3837, allocations: 384 / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.274e-05/0.3838, allocations: 42.25 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.3838, allocations: 4.188 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3838, allocations: 3.938 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3838, allocations: 0 / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.69e-05/0.3839, allocations: 11.98 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.384, allocations: 157.7 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.387e-05/0.3841, allocations: 26.52 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.327e-05/0.3841, allocations: 8.953 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.3841, allocations: 7.984 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.3843, allocations: 55.41 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 2.695e-06/0.3843, allocations: 3.984 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001925/0.3845, allocations: 77.45 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.3845, allocations: 51.41 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.932e-05/0.3846, allocations: 101.8 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.3846, allocations: 25.83 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.3847, allocations: 84.14 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.3847, allocations: 11.89 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.992e-05/0.3847, allocations: 21.72 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3849, allocations: 310.8 kB / 1.055 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.3849, allocations: 11.98 kB / 1.055 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.442e-05/0.3849, allocations: 31.42 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.694e-05/0.385, allocations: 51.36 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.385, allocations: 0 / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001001/0.3851, allocations: 65.62 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3851, allocations: 7.938 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3851, allocations: 7.938 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.3851, allocations: 4.094 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/0.3852, allocations: 8 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3852, allocations: 3.984 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.479e-05/0.3852, allocations: 3.906 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.3853, allocations: 8 kB / 1.056 GB, free: 4.891 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 (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 7.2e-05/0.3853, allocations: 109.8 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.3854, allocations: 3.938 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.3854, allocations: 7.5 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3854, allocations: 7.938 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3854, allocations: 8 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3854, allocations: 0 / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.3855, allocations: 149.7 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3855, allocations: 0 / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-05/0.3856, allocations: 3.938 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3856, allocations: 3.938 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3856, allocations: 7.984 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3856, allocations: 0 / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.3856, allocations: 0 / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.3857, allocations: 85.12 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/0.3858, allocations: 81.09 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.3858, allocations: 7.938 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.365e-05/0.3858, allocations: 0 / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.3858, allocations: 3.938 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.3858, allocations: 0 / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.519e-05/0.3859, allocations: 83.28 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3859, allocations: 0 / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002384/0.3861, allocations: 32.08 kB / 1.056 GB, free: 4.211 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 (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.0003519/0.3865, allocations: 170.7 kB / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.741e-05/0.3866, allocations: 27.98 kB / 1.056 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3866, allocations: 0 / 1.056 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.051e-05/0.3867, allocations: 15.88 kB / 1.056 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.3868, allocations: 13.2 kB / 1.056 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002173/0.387, allocations: 102.7 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.3873, allocations: 0.677 MB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.249e-05/0.3873, allocations: 7.922 kB / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.374e-05/0.3873, allocations: 7.438 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of SimCode: time 4.41e-07/0.3873, allocations: 4 kB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of Templates: time 0.003115/0.3905, allocations: 0.9393 MB / 1.058 GB, free: 2.207 MB / 0.8106 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