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.001319/0.001319, allocations: 109.8 kB / 16.42 MB, free: 6.469 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.001912/0.001912, allocations: 190.7 kB / 17.35 MB, free: 5.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.357/1.357, allocations: 222.9 MB / 241.1 MB, free: 15.06 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.427/2.427, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.91 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6868/0.688, 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.002137/0.6902, allocations: 1.214 MB / 1.168 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00077/0.691, allocations: 397.1 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.941e-05/0.6911, allocations: 4 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.6911, allocations: 0 / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.694e-05/0.6911, allocations: 3.938 kB / 1.169 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005412/0.6917, allocations: 91.7 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.756e-05/0.6918, allocations: 19.92 kB / 1.169 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.6918, allocations: 4 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.85e-05/0.6918, allocations: 4 kB / 1.169 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.839e-05/0.6919, allocations: 11.92 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.6919, allocations: 0 / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.6921, allocations: 91.91 kB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.6921, allocations: 4 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.6922, allocations: 11.86 kB / 1.169 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.6923, allocations: 83.41 kB / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.6923, allocations: 0 / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6924, allocations: 3.938 kB / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.6924, allocations: 4 kB / 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.0004068/0.6928, allocations: 348.3 kB / 1.169 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.6928, allocations: 8.031 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.6929, allocations: 4.875 kB / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.657e-05/0.693, allocations: 164.3 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.693, allocations: 4.375 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.693, allocations: 4.359 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.152e-05/0.6931, allocations: 38.25 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.6931, allocations: 4.188 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.6931, allocations: 7.938 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.6931, allocations: 3.938 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.557e-05/0.6932, allocations: 4 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.6933, allocations: 153.7 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.485e-05/0.6934, allocations: 30.61 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.329e-05/0.6934, allocations: 8.859 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.6934, allocations: 0 / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/0.6936, allocations: 67.42 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.6936, allocations: 4 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0001836/0.6938, allocations: 65.58 kB / 1.17 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.6938, allocations: 63.39 kB / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.147e-05/0.6939, allocations: 93.86 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.6939, allocations: 25.7 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.986e-05/0.6939, allocations: 88.27 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.694, allocations: 3.953 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.694, allocations: 29.69 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.421e-05/0.6941, allocations: 310.8 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.097e-05/0.6941, allocations: 8 kB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.566e-05/0.6942, allocations: 39.36 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.687e-05/0.6942, allocations: 39.44 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6942, allocations: 0 / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000118/0.6944, allocations: 77.83 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.6944, allocations: 4 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.6944, allocations: 7.938 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.6944, allocations: 96 / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.73e-05/0.6945, allocations: 15.94 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.6945, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.643e-05/0.6945, allocations: 3.953 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.6945, allocations: 4 kB / 1.171 GB, free: 15.96 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.892e-05/0.6946, allocations: 121.7 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.6946, allocations: 3.984 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.44e-05/0.6947, allocations: 7.438 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.6947, allocations: 3.938 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6947, allocations: 4 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.002e-05/0.6947, allocations: 85.05 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.6947, allocations: 0 / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.099e-05/0.6948, allocations: 0 / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.907e-05/0.6948, allocations: 3.984 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001183/0.6949, allocations: 133 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001482/0.6951, allocations: 242.6 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.592e-05/0.6951, allocations: 12 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.922e-05/0.6951, allocations: 83.27 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of Backend: time 4.71e-07/0.6951, allocations: 0 / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005432/0.6957, allocations: 156.6 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003057/0.696, allocations: 0.5411 MB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of Templates: time 0.003171/0.6992, allocations: 0.9968 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