Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.001354/0.001354, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.407/2.407, allocations: 390.2 MB / 0.6646 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001318, allocations: 63.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7221/0.7234, allocations: 140.4 MB / 0.9496 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002627/0.7261, allocations: 1.202 MB / 0.9507 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007592/0.7269, allocations: 407.1 kB / 0.9511 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.933e-05/0.727, allocations: 0 / 0.9511 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.472e-05/0.727, allocations: 0 / 0.9511 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.722e-05/0.727, allocations: 1.312 kB / 0.9511 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004928/0.7275, allocations: 97.16 kB / 0.9512 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.07e-05/0.7276, allocations: 10.86 kB / 0.9512 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.51e-05/0.7276, allocations: 2.75 kB / 0.9512 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.478e-05/0.7277, allocations: 10.73 kB / 0.9512 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.028e-05/0.7277, allocations: 10.67 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.7277, allocations: 1.375 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.7279, allocations: 97.09 kB / 0.9513 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.7279, allocations: 1.375 kB / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.728, allocations: 10.73 kB / 0.9514 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.7282, allocations: 79.44 kB / 0.9514 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.7282, allocations: 1.375 kB / 0.9514 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7282, allocations: 3.938 kB / 0.9514 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.146e-06/0.7282, allocations: 0 / 0.9514 GB, free: 7.652 MB / 0.7169 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.0004941/0.7287, allocations: 342.9 kB / 0.9518 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.7288, allocations: 12.09 kB / 0.9518 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.7288, allocations: 6.141 kB / 0.9518 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.437e-05/0.7289, allocations: 171.4 kB / 0.9519 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.7289, allocations: 1.719 kB / 0.952 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.729, allocations: 6.641 kB / 0.952 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.7291, allocations: 35.59 kB / 0.952 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.7291, allocations: 4.125 kB / 0.952 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.7291, allocations: 3.938 kB / 0.952 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.7291, allocations: 1.25 kB / 0.952 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.296e-05/0.7292, allocations: 11.8 kB / 0.952 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.7293, allocations: 156.1 kB / 0.9522 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.913e-05/0.7294, allocations: 26.3 kB / 0.9522 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/0.7295, allocations: 16.62 kB / 0.9522 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.7295, allocations: 0 / 0.9522 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.7296, allocations: 52.16 kB / 0.9523 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.7297, allocations: 4 kB / 0.9523 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002182/0.7299, allocations: 74.33 kB / 0.9523 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.7299, allocations: 52.75 kB / 0.9524 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.141e-05/0.73, allocations: 100.4 kB / 0.9525 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.73, allocations: 27.14 kB / 0.9525 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.1e-05/0.73, allocations: 80.14 kB / 0.9526 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.7301, allocations: 12.98 kB / 0.9526 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.7301, allocations: 19.84 kB / 0.9526 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.399e-05/0.7302, allocations: 316.3 kB / 0.9529 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.7302, allocations: 8.734 kB / 0.9529 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.998e-05/0.7302, allocations: 33.53 kB / 0.9529 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.322e-05/0.7303, allocations: 53.48 kB / 0.953 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7303, allocations: 0 / 0.953 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.344e-05/0.7304, allocations: 64.5 kB / 0.9531 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.7304, allocations: 9.531 kB / 0.9531 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.7304, allocations: 1.594 kB / 0.9531 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.7304, allocations: 1.156 kB / 0.9531 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.512e-05/0.7305, allocations: 9.75 kB / 0.9531 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.7305, allocations: 5.766 kB / 0.9531 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.712e-05/0.7305, allocations: 5.438 kB / 0.9531 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.7306, allocations: 7.188 kB / 0.9531 GB, free: 5.871 MB / 0.7169 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 5.909e-05/0.7306, allocations: 112 kB / 0.9532 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.7306, allocations: 9.281 kB / 0.9532 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.137e-05/0.7307, allocations: 3.734 kB / 0.9532 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.7307, allocations: 5.625 kB / 0.9532 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7307, allocations: 0 / 0.9532 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.7307, allocations: 7.922 kB / 0.9532 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.511e-05/0.7308, allocations: 157.8 kB / 0.9534 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.7308, allocations: 0 / 0.9534 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.391e-05/0.7308, allocations: 9.469 kB / 0.9534 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.7308, allocations: 5.5 kB / 0.9534 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.7308, allocations: 3.984 kB / 0.9534 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.7308, allocations: 1.156 kB / 0.9534 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.7308, allocations: 3.938 kB / 0.9534 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.731, allocations: 83.53 kB / 0.9535 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.731, allocations: 81.09 kB / 0.9536 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.731, allocations: 5.281 kB / 0.9536 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.014e-05/0.731, allocations: 4 kB / 0.9536 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.7311, allocations: 1.375 kB / 0.9536 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.7311, allocations: 1.469 kB / 0.9536 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.052e-05/0.7311, allocations: 77.88 kB / 0.9536 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7311, allocations: 0 / 0.9536 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000269/0.7314, allocations: 31.73 kB / 0.9537 GB, free: 5.238 MB / 0.7169 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.0002891/0.7317, allocations: 154.1 kB / 0.9538 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.7318, allocations: 32.8 kB / 0.9539 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.7318, allocations: 1.219 kB / 0.9539 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.23e-05/0.7318, allocations: 19.8 kB / 0.9539 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.732, allocations: 9.641 kB / 0.9539 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002065/0.7322, allocations: 101.3 kB / 0.954 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.7323, allocations: 0.6806 MB / 0.9546 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.35e-05/0.7323, allocations: 6.328 kB / 0.9547 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.465e-05/0.7324, allocations: 9.656 kB / 0.9547 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of SimCode: time 8.42e-07/0.7324, allocations: 0 / 0.9547 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of Templates: time 0.003356/0.7357, allocations: 0.9705 MB / 0.9556 GB, free: 3.762 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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