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.001304/0.001303, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001589/0.001589, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.328/1.328, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.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.215/2.215, allocations: 390.3 MB / 0.6653 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.5 kB / 0.8132 GB, free: 33.1 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2475, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.00208/0.2496, allocations: 1.21 MB / 0.9514 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007734/0.2504, allocations: 400.8 kB / 0.9518 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.602e-05/0.2504, allocations: 0 / 0.9518 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.256e-05/0.2504, allocations: 3.938 kB / 0.9518 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.317e-05/0.2505, allocations: 0 / 0.9518 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000574/0.2511, allocations: 99.72 kB / 0.9519 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.994e-05/0.2511, allocations: 15.92 kB / 0.9519 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.517e-05/0.2512, allocations: 4 kB / 0.9519 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.463e-05/0.2512, allocations: 7.984 kB / 0.952 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.847e-05/0.2513, allocations: 7.922 kB / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.2513, allocations: 4 kB / 0.952 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.2515, allocations: 91.84 kB / 0.9521 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.2515, allocations: 4 kB / 0.9521 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.2516, allocations: 4 kB / 0.9521 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.2517, allocations: 83.81 kB / 0.9521 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2517, allocations: 4 kB / 0.9521 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2517, allocations: 0 / 0.9521 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.2517, allocations: 0 / 0.9521 GB, free: 6.941 MB / 0.7325 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.0004187/0.2522, allocations: 347.5 kB / 0.9525 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.2522, allocations: 8.031 kB / 0.9525 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.2522, allocations: 4.938 kB / 0.9525 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.755e-05/0.2524, allocations: 168.6 kB / 0.9526 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.2524, allocations: 384 / 0.9526 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.2524, allocations: 8.375 kB / 0.9527 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.059e-05/0.2525, allocations: 46.12 kB / 0.9527 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.2525, allocations: 192 / 0.9527 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.2525, allocations: 3.938 kB / 0.9527 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2525, allocations: 0 / 0.9527 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.44e-05/0.2525, allocations: 4 kB / 0.9527 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/0.2527, allocations: 157.6 kB / 0.9529 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.559e-05/0.2528, allocations: 30.61 kB / 0.9529 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.2528, allocations: 12.86 kB / 0.9529 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.2528, allocations: 0 / 0.9529 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/0.2529, allocations: 59.42 kB / 0.953 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2529, allocations: 0 / 0.953 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001831/0.2531, allocations: 73.7 kB / 0.953 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.2532, allocations: 55.41 kB / 0.9531 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.224e-05/0.2532, allocations: 97.86 kB / 0.9532 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.2533, allocations: 25.7 kB / 0.9532 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.802e-05/0.2533, allocations: 84.14 kB / 0.9533 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.2533, allocations: 7.906 kB / 0.9533 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.2534, allocations: 21.7 kB / 0.9533 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.916e-05/0.2534, allocations: 314.8 kB / 0.9536 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.128e-05/0.2535, allocations: 8 kB / 0.9536 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.074e-05/0.2535, allocations: 43.48 kB / 0.9537 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.704e-05/0.2536, allocations: 43.36 kB / 0.9537 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.2536, allocations: 0 / 0.9537 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.588e-05/0.2537, allocations: 69.61 kB / 0.9538 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.2537, allocations: 8.031 kB / 0.9538 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2537, allocations: 4 kB / 0.9538 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.2537, allocations: 4 kB / 0.9538 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.22e-05/0.2538, allocations: 4 kB / 0.9538 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2538, allocations: 4 kB / 0.9538 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.608e-05/0.2539, allocations: 4 kB / 0.9538 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.2539, allocations: 4 kB / 0.9538 GB, free: 5 MB / 0.7325 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 7.186e-05/0.2539, allocations: 115.7 kB / 0.9539 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.254, allocations: 19.78 kB / 0.9539 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.118e-05/0.254, allocations: 7.5 kB / 0.9539 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.254, allocations: 0 / 0.9539 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.254, allocations: 0 / 0.9539 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.254, allocations: 0 / 0.9539 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.2541, allocations: 149.7 kB / 0.9541 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2541, allocations: 0 / 0.9541 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.81e-05/0.2541, allocations: 8 kB / 0.9541 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2542, allocations: 3.938 kB / 0.9541 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.2542, allocations: 0 / 0.9541 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.2542, allocations: 7.938 kB / 0.9541 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2542, allocations: 0 / 0.9541 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.2543, allocations: 93.05 kB / 0.9542 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.2543, allocations: 77.11 kB / 0.9543 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.2544, allocations: 7.922 kB / 0.9543 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.011e-05/0.2544, allocations: 0 / 0.9543 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.152e-05/0.2544, allocations: 4 kB / 0.9543 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.2544, allocations: 0 / 0.9543 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.171e-05/0.2545, allocations: 79.28 kB / 0.9543 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2545, allocations: 4.094 kB / 0.9543 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000242/0.2547, allocations: 31.98 kB / 0.9544 GB, free: 4.305 MB / 0.7325 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.0003212/0.255, allocations: 158.1 kB / 0.9545 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.324e-05/0.2551, allocations: 31.92 kB / 0.9546 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2551, allocations: 192 / 0.9546 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.197e-05/0.2552, allocations: 16 kB / 0.9546 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.2553, allocations: 0 / 0.9546 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002337/0.2556, allocations: 137.3 kB / 0.9547 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.2558, allocations: 0.6844 MB / 0.9554 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.725e-05/0.2558, allocations: 7.438 kB / 0.9554 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.2558, allocations: 0 / 0.9554 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of Templates: time 0.003646/0.2595, allocations: 1.154 MB / 0.9565 GB, free: 2.07 MB / 0.7325 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches