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.00183/0.00183, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00231/0.00231, allocations: 193.5 kB / 16.25 MB, free: 6.637 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.524/1.524, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.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.863/2.863, allocations: 437 MB / 0.7101 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.91 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6945/0.6965, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.00256/0.6991, allocations: 1.268 MB / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008668/0.7, allocations: 402.6 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.7, allocations: 0 / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.914e-05/0.7001, allocations: 0 / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.172e-05/0.7001, allocations: 0 / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00052/0.7006, allocations: 91.78 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.861e-05/0.7007, allocations: 11.98 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.09e-05/0.7007, allocations: 8 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.067e-05/0.7008, allocations: 4 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.818e-05/0.7008, allocations: 7.922 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.7008, allocations: 4 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002181/0.7011, allocations: 91.84 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.7011, allocations: 11.97 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.7011, allocations: 7.938 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.7013, allocations: 75.89 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7013, allocations: 0 / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7013, allocations: 0 / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.7013, allocations: 0 / 1.019 GB, free: 0.7656 MB / 0.7637 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.0005319/0.7019, allocations: 351.4 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.7019, allocations: 8.031 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.702, allocations: 4.922 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.7021, allocations: 166.4 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.7021, allocations: 384 / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.7021, allocations: 4.375 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.7023, allocations: 42.19 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.7023, allocations: 192 / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.7023, allocations: 7.938 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.7023, allocations: 7.984 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.005e-05/0.7024, allocations: 7.984 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002205/0.7026, allocations: 153.7 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.499e-05/0.7027, allocations: 26.58 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/0.7027, allocations: 12.94 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.7027, allocations: 0 / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.7029, allocations: 59.34 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.7029, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002321/0.7032, allocations: 73.52 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.7032, allocations: 59.39 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.957e-05/0.7033, allocations: 93.86 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.7033, allocations: 25.7 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/0.7034, allocations: 92.19 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.7034, allocations: 11.91 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/0.7035, allocations: 17.72 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.7036, allocations: 314.8 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.326e-05/0.7037, allocations: 15.92 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.826e-05/0.7037, allocations: 27.44 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.69e-05/0.7038, allocations: 55.36 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.7038, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000101/0.7039, allocations: 57.62 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.7039, allocations: 15.88 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.704, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.704, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.627e-05/0.7041, allocations: 15.98 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.7041, allocations: 4.094 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.821e-05/0.7041, allocations: 11.88 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.7041, allocations: 0 / 1.02 GB, free: 14.81 MB / 0.7794 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 0.0001045/0.7042, allocations: 113.8 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.7042, allocations: 7.844 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.7043, allocations: 7.5 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.7043, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.7043, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.7043, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.7044, allocations: 157.7 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7045, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.39e-05/0.7045, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.7045, allocations: 11.92 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.7045, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7045, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7045, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.7047, allocations: 89.27 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.7047, allocations: 85.11 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.7047, allocations: 3.938 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.441e-05/0.7048, allocations: 4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.7048, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.7048, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.248e-05/0.7049, allocations: 83.27 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7049, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002486/0.7051, allocations: 24 kB / 1.021 GB, free: 14.13 MB / 0.7794 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.0004142/0.7055, allocations: 161.2 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.7057, allocations: 31.92 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7057, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.278e-05/0.7057, allocations: 12 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.7059, allocations: 6.625 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/0.7061, allocations: 111 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.7065, allocations: 0.6768 MB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.396e-05/0.7065, allocations: 7.938 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.611e-05/0.7066, allocations: 7.438 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7066, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of Templates: time 0.003888/0.7105, allocations: 0.9696 MB / 1.023 GB, free: 12.11 MB / 0.7794 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=400 -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/jenkins/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