Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.005867/0.005867, allocations: 101.2 kB / 15.88 MB, free: 5.867 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.001467/0.001467, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.342/1.342, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.638/2.638, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 71.17 kB / 0.899 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2741, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002838/0.277, allocations: 1.27 MB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009666/0.278, allocations: 410.8 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/0.2781, allocations: 4 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.394e-05/0.2781, allocations: 0 / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.837e-05/0.2782, allocations: 0 / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005484/0.2787, allocations: 67.81 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.98e-05/0.2788, allocations: 19.97 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.621e-05/0.2789, allocations: 4 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.262e-05/0.2789, allocations: 7.938 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.093e-05/0.279, allocations: 11.98 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.279, allocations: 0 / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002547/0.2793, allocations: 91.84 kB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.2793, allocations: 0 / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.725e-05/0.2793, allocations: 11.92 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.2795, allocations: 63.89 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2795, allocations: 0 / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.11e-07/0.2795, allocations: 0 / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2795, allocations: 0 / 1.055 GB, free: 6.332 MB / 0.8106 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.0005463/0.2801, allocations: 351.5 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.2801, allocations: 8.031 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.2802, allocations: 0.9375 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.2803, allocations: 164.7 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.2803, allocations: 4.375 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.2804, allocations: 4.312 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.2805, allocations: 38.25 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.2805, allocations: 8.188 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.2805, allocations: 3.938 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2805, allocations: 0 / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.067e-05/0.2806, allocations: 7.984 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.2807, allocations: 153.7 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.407e-05/0.2808, allocations: 26.58 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.2809, allocations: 12.8 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.2809, allocations: 96 / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/0.2811, allocations: 63.39 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.2811, allocations: 3.938 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002232/0.2813, allocations: 77.64 kB / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.2814, allocations: 55.34 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.534e-05/0.2815, allocations: 97.86 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.2815, allocations: 25.7 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.2816, allocations: 84.27 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.2816, allocations: 11.89 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.2816, allocations: 21.72 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2818, allocations: 310.8 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.2818, allocations: 11.98 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.213e-05/0.2818, allocations: 35.44 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.413e-05/0.2819, allocations: 47.36 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2819, allocations: 0 / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001088/0.282, allocations: 65.62 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2821, allocations: 7.938 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.2821, allocations: 4 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.2821, allocations: 0 / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.867e-05/0.2822, allocations: 19.97 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2822, allocations: 0 / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.437e-05/0.2822, allocations: 15.89 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.2823, allocations: 4 kB / 1.056 GB, free: 4.371 MB / 0.8106 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 9.252e-05/0.2824, allocations: 109.8 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.2824, allocations: 3.938 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.2824, allocations: 7.5 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.2824, allocations: 0 / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.2824, allocations: 4 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2824, allocations: 4 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.2826, allocations: 149.7 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.2826, allocations: 0 / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.826e-05/0.2826, allocations: 0 / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.2826, allocations: 3.938 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.2826, allocations: 7.984 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2827, allocations: 4 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2827, allocations: 0 / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.2828, allocations: 85.06 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.2828, allocations: 81.09 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.2829, allocations: 7.938 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.127e-05/0.2829, allocations: 0 / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.2829, allocations: 0 / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.2829, allocations: 0 / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.635e-05/0.283, allocations: 79.28 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.283, allocations: 0 / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000276/0.2833, allocations: 35.92 kB / 1.057 GB, free: 3.703 MB / 0.8106 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.0003853/0.2837, allocations: 169.1 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001161/0.2838, allocations: 27.92 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2838, allocations: 3.938 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.391e-05/0.2839, allocations: 8 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.284, allocations: 9.125 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.2843, allocations: 144.3 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.2846, allocations: 0.6731 MB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.2846, allocations: 7.438 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of SimCode: time 5.61e-07/0.2846, allocations: 0 / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of Templates: time 0.003228/0.2878, allocations: 1.147 MB / 1.059 GB, free: 1.465 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches