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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.001396/0.001396, allocations: 111.1 kB / 16.42 MB, free: 5.926 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.001486/0.001486, allocations: 189.9 kB / 17.35 MB, free: 5.559 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.371/1.371, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.39/2.39, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.89 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6849/0.6863, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001883/0.6882, allocations: 1.21 MB / 1.168 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0006975/0.6889, allocations: 405.1 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.924e-05/0.6889, allocations: 0 / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.689, allocations: 4 kB / 1.169 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.061e-05/0.689, allocations: 3.938 kB / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004422/0.6894, allocations: 95.7 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.026e-05/0.6895, allocations: 15.92 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.211e-05/0.6895, allocations: 0 / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.903e-05/0.6896, allocations: 8 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.434e-05/0.6896, allocations: 11.92 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.6896, allocations: 0 / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.6898, allocations: 87.91 kB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.6898, allocations: 7.984 kB / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.6898, allocations: 15.92 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.69, allocations: 79.34 kB / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.69, allocations: 0 / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.925e-06/0.69, allocations: 4 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.69, allocations: 0 / 1.169 GB, free: 1.906 MB / 0.8887 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.0004002/0.6904, allocations: 340.3 kB / 1.169 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.6905, allocations: 11.97 kB / 1.169 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.6905, allocations: 12.88 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.249e-05/0.6906, allocations: 168.3 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.6906, allocations: 4.375 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.6906, allocations: 4.375 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.72e-05/0.6907, allocations: 34.25 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.6908, allocations: 192 / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.6908, allocations: 3.938 kB / 1.17 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.6908, allocations: 0 / 1.17 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.631e-05/0.6908, allocations: 11.94 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.691, allocations: 157.7 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.022e-05/0.691, allocations: 26.58 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.544e-05/0.6911, allocations: 12.86 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.6911, allocations: 0 / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/0.6912, allocations: 63.47 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 2.755e-06/0.6912, allocations: 0 / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0001737/0.6914, allocations: 77.5 kB / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.6914, allocations: 55.41 kB / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.953e-05/0.6915, allocations: 97.86 kB / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.6915, allocations: 25.7 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.512e-05/0.6915, allocations: 84.14 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.6916, allocations: 11.94 kB / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.6916, allocations: 17.72 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.386e-05/0.6917, allocations: 314.8 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.952e-05/0.6917, allocations: 7.984 kB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.222e-05/0.6917, allocations: 35.56 kB / 1.171 GB, free: 132 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.495e-05/0.6918, allocations: 47.55 kB / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6918, allocations: 0 / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001089/0.6919, allocations: 77.69 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.6919, allocations: 4 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.692, allocations: 3.938 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.692, allocations: 4 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.324e-05/0.692, allocations: 4 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.6921, allocations: 4 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.728e-05/0.6921, allocations: 7.953 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.6921, allocations: 7.984 kB / 1.171 GB, free: 15.95 MB / 0.9044 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 6.374e-05/0.6922, allocations: 115.9 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.6922, allocations: 12 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.24e-05/0.6922, allocations: 7.438 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.6922, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.6922, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.6923, allocations: 85.05 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.6923, allocations: 3.938 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.271e-05/0.6923, allocations: 7.984 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.6923, allocations: 0 / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000115/0.6925, allocations: 133 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000139/0.6926, allocations: 242.6 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.791e-05/0.6926, allocations: 11.98 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.785e-05/0.6927, allocations: 79.28 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of Backend: time 3.3e-07/0.6927, allocations: 0 / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005193/0.6932, allocations: 162.6 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0002915/0.6935, allocations: 0.5369 MB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of Templates: time 0.00301/0.6965, allocations: 0.9982 MB / 1.173 GB, free: 13.48 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_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