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.001527/0.001527, allocations: 109.8 kB / 15.99 MB, free: 6.348 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.001773/0.001774, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.333/1.333, allocations: 222.9 MB / 240.6 MB, free: 13.69 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.363/2.363, allocations: 390.2 MB / 0.665 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 62.16 kB / 0.8127 GB, free: 32.45 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2844, allocations: 140.4 MB / 0.9498 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002593/0.2871, allocations: 1.27 MB / 0.951 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008261/0.2879, allocations: 400.9 kB / 0.9514 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.249e-05/0.288, allocations: 0 / 0.9514 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.167e-05/0.288, allocations: 0 / 0.9514 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.715e-05/0.288, allocations: 3.938 kB / 0.9514 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.2886, allocations: 79.86 kB / 0.9515 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.746e-05/0.2887, allocations: 8 kB / 0.9515 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.2887, allocations: 11.98 kB / 0.9515 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.286e-05/0.2887, allocations: 7.984 kB / 0.9515 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.46e-05/0.2888, allocations: 7.875 kB / 0.9515 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.2888, allocations: 7.938 kB / 0.9515 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.289, allocations: 91.89 kB / 0.9516 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.289, allocations: 0 / 0.9516 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.2891, allocations: 11.94 kB / 0.9516 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.2892, allocations: 55.91 kB / 0.9517 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2892, allocations: 0 / 0.9517 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.424e-06/0.2892, allocations: 0 / 0.9517 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2892, allocations: 0 / 0.9517 GB, free: 7.316 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.0004412/0.2897, allocations: 351.5 kB / 0.952 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.2897, allocations: 8.031 kB / 0.952 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.2898, allocations: 0.9375 kB / 0.952 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.2899, allocations: 168.6 kB / 0.9522 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.2899, allocations: 4.375 kB / 0.9522 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.2899, allocations: 4.359 kB / 0.9522 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.29, allocations: 42.23 kB / 0.9522 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2901, allocations: 4.188 kB / 0.9522 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.2901, allocations: 3.938 kB / 0.9522 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2901, allocations: 0 / 0.9522 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.143e-05/0.2901, allocations: 4 kB / 0.9522 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.2903, allocations: 161.6 kB / 0.9524 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.872e-05/0.2904, allocations: 30.55 kB / 0.9524 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.2904, allocations: 8.859 kB / 0.9524 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.2904, allocations: 4 kB / 0.9524 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.2906, allocations: 59.48 kB / 0.9525 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.2906, allocations: 3.938 kB / 0.9525 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001922/0.2908, allocations: 77.45 kB / 0.9525 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.2908, allocations: 51.41 kB / 0.9526 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.361e-05/0.2909, allocations: 101.8 kB / 0.9527 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.291, allocations: 25.7 kB / 0.9527 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.821e-05/0.291, allocations: 84.27 kB / 0.9528 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.291, allocations: 7.906 kB / 0.9528 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.2911, allocations: 25.7 kB / 0.9528 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.2912, allocations: 310.8 kB / 0.9531 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/0.2912, allocations: 4 kB / 0.9531 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.688e-05/0.2912, allocations: 35.42 kB / 0.9532 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.054e-05/0.2913, allocations: 47.38 kB / 0.9532 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2913, allocations: 4 kB / 0.9532 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001046/0.2914, allocations: 61.62 kB / 0.9533 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.2914, allocations: 13.81 kB / 0.9533 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2915, allocations: 7.984 kB / 0.9533 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2915, allocations: 96 / 0.9533 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.954e-05/0.2915, allocations: 19.88 kB / 0.9533 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.2916, allocations: 0 / 0.9533 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.612e-05/0.2916, allocations: 4 kB / 0.9533 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.2916, allocations: 0 / 0.9533 GB, free: 5.363 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.627e-05/0.2917, allocations: 113.8 kB / 0.9534 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.2917, allocations: 7.844 kB / 0.9534 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.2917, allocations: 7.719 kB / 0.9534 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2917, allocations: 4 kB / 0.9534 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2917, allocations: 3.984 kB / 0.9534 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2918, allocations: 4 kB / 0.9534 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.2919, allocations: 153.7 kB / 0.9536 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2919, allocations: 0 / 0.9536 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.432e-05/0.2919, allocations: 0 / 0.9536 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.2919, allocations: 3.938 kB / 0.9536 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.2919, allocations: 4 kB / 0.9536 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2919, allocations: 3.938 kB / 0.9536 GB, free: 5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2919, allocations: 0 / 0.9536 GB, free: 5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.2921, allocations: 89.11 kB / 0.9537 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.2921, allocations: 85.05 kB / 0.9538 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.2921, allocations: 7.938 kB / 0.9538 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.993e-05/0.2922, allocations: 0 / 0.9538 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.2922, allocations: 3.984 kB / 0.9538 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.2922, allocations: 4 kB / 0.9538 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.487e-05/0.2922, allocations: 75.28 kB / 0.9539 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.2922, allocations: 0 / 0.9539 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002461/0.2925, allocations: 28 kB / 0.9539 GB, free: 4.676 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.0003326/0.2928, allocations: 173 kB / 0.9541 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.293, allocations: 27.92 kB / 0.9541 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.293, allocations: 8 kB / 0.9541 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.126e-05/0.293, allocations: 15.92 kB / 0.9541 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.2932, allocations: 192 / 0.9541 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.2934, allocations: 138.7 kB / 0.9542 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.2936, allocations: 0.6805 MB / 0.9549 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.2937, allocations: 7.438 kB / 0.9549 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/0.2937, allocations: 0 / 0.9549 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of Templates: time 0.002863/0.2965, allocations: 1.147 MB / 0.956 GB, free: 2.438 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