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.001576/0.001575, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001927/0.001927, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.49/1.49, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.73/2.73, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 64.12 kB / 0.8685 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7234/0.7249, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002438/0.7274, allocations: 1.272 MB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008502/0.7282, allocations: 414.7 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.356e-05/0.7283, allocations: 3.938 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.7283, allocations: 0 / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.132e-05/0.7283, allocations: 3.984 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004777/0.7288, allocations: 75.86 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.988e-05/0.7289, allocations: 15.94 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.7289, allocations: 0 / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.426e-05/0.729, allocations: 11.92 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.009e-05/0.729, allocations: 11.98 kB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.729, allocations: 0 / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.7292, allocations: 87.91 kB / 1.018 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.7292, allocations: 7.922 kB / 1.018 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.7293, allocations: 7.938 kB / 1.018 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.7295, allocations: 75.89 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.7295, allocations: 4 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7295, allocations: 0 / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.7295, allocations: 3.938 kB / 1.019 GB, free: 0.8281 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.000531/0.73, allocations: 347.5 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.7301, allocations: 8.031 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.7301, allocations: 4.938 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.7302, allocations: 166.3 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.7303, allocations: 384 / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.7303, allocations: 12.38 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.807e-05/0.7304, allocations: 34.25 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.7304, allocations: 192 / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.7304, allocations: 11.86 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.7304, allocations: 0 / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.813e-05/0.7305, allocations: 7.984 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.7306, allocations: 153.7 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.819e-05/0.7307, allocations: 26.58 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.847e-05/0.7308, allocations: 20.98 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.7308, allocations: 0 / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.7309, allocations: 51.34 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.7309, allocations: 3.938 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002217/0.7312, allocations: 77.52 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.7312, allocations: 51.41 kB / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.788e-05/0.7313, allocations: 101.8 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.7313, allocations: 29.7 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.7314, allocations: 84.14 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.7314, allocations: 3.906 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.7314, allocations: 17.72 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.7316, allocations: 322.8 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.046e-05/0.7316, allocations: 4 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.922e-05/0.7317, allocations: 43.48 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.243e-05/0.7317, allocations: 43.38 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7317, allocations: 3.938 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001/0.7318, allocations: 65.62 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.7319, allocations: 13.28 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.7319, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.7319, allocations: 4 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.7e-05/0.732, allocations: 7.984 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.732, allocations: 8 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.821e-05/0.732, allocations: 7.844 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.732, allocations: 4 kB / 1.02 GB, free: 14.88 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 8.913e-05/0.7321, allocations: 114.3 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.7322, allocations: 7.938 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.7322, allocations: 7.5 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.7322, allocations: 0 / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.7322, allocations: 0 / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.7322, allocations: 3.984 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.7323, allocations: 149.7 kB / 1.02 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.7323, allocations: 3.984 kB / 1.02 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-05/0.7324, allocations: 4 kB / 1.02 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.7324, allocations: 3.938 kB / 1.02 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.7324, allocations: 0 / 1.02 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.7324, allocations: 0 / 1.02 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.7324, allocations: 0 / 1.02 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.7325, allocations: 97.27 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.7326, allocations: 77.11 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.7326, allocations: 3.938 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.15e-05/0.7326, allocations: 4 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.7326, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.7327, allocations: 3.984 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.337e-05/0.7327, allocations: 79.28 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7327, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000239/0.7329, allocations: 31.94 kB / 1.021 GB, free: 14.19 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.0003325/0.7333, allocations: 153.2 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.731e-05/0.7334, allocations: 27.92 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.7334, allocations: 4.281 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.494e-05/0.7334, allocations: 15.98 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.7336, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.7338, allocations: 102.7 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.7341, allocations: 0.677 MB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.399e-05/0.7341, allocations: 4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.406e-05/0.7341, allocations: 7.438 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7341, allocations: 4 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of Templates: time 0.003136/0.7373, allocations: 0.9581 MB / 1.023 GB, free: 12.19 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=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/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