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.001593/0.001593, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001647/0.001647, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.384/1.384, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.408/2.408, allocations: 390.2 MB / 0.6642 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 59.91 kB / 0.8118 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6465/0.6478, allocations: 140.4 MB / 0.9489 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002014/0.6499, allocations: 1.275 MB / 0.9501 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006766/0.6506, allocations: 411.5 kB / 0.9505 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.901e-05/0.6506, allocations: 0 / 0.9505 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.635e-05/0.6506, allocations: 5.375 kB / 0.9505 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.572e-05/0.6507, allocations: 3.938 kB / 0.9506 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.6511, allocations: 72.61 kB / 0.9506 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.75e-05/0.6511, allocations: 14.86 kB / 0.9506 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.6512, allocations: 5.312 kB / 0.9506 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.8e-05/0.6512, allocations: 8.062 kB / 0.9506 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.397e-05/0.6512, allocations: 10.73 kB / 0.9507 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.6513, allocations: 3.938 kB / 0.9507 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.6514, allocations: 87.78 kB / 0.9507 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.6514, allocations: 1.375 kB / 0.9507 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.6515, allocations: 14.67 kB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.6516, allocations: 84.81 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6516, allocations: 0 / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6516, allocations: 0 / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.6517, allocations: 5.312 kB / 0.9508 GB, free: 7.719 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.0003638/0.652, allocations: 341 kB / 0.9512 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.6521, allocations: 9.406 kB / 0.9512 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.6521, allocations: 6.203 kB / 0.9512 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.514e-05/0.6522, allocations: 163.7 kB / 0.9513 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.6522, allocations: 6.25 kB / 0.9513 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.6522, allocations: 5.469 kB / 0.9514 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.09e-05/0.6523, allocations: 35.41 kB / 0.9514 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.6523, allocations: 192 / 0.9514 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.6524, allocations: 5.438 kB / 0.9514 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.6524, allocations: 0 / 0.9514 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.536e-05/0.6524, allocations: 11.33 kB / 0.9514 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001132/0.6525, allocations: 152.8 kB / 0.9515 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.169e-05/0.6526, allocations: 30.83 kB / 0.9516 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.525e-05/0.6526, allocations: 16.38 kB / 0.9516 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.6526, allocations: 0 / 0.9516 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001199/0.6527, allocations: 51.94 kB / 0.9516 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.6528, allocations: 0 / 0.9516 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001796/0.6529, allocations: 73.64 kB / 0.9517 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.653, allocations: 56.62 kB / 0.9518 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.66e-05/0.653, allocations: 97.27 kB / 0.9519 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.653, allocations: 29.7 kB / 0.9519 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.361e-05/0.6531, allocations: 81.64 kB / 0.952 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.6531, allocations: 9.422 kB / 0.952 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.6531, allocations: 18.62 kB / 0.952 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.834e-05/0.6532, allocations: 316.8 kB / 0.9523 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.6532, allocations: 7.953 kB / 0.9523 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.882e-05/0.6532, allocations: 38.77 kB / 0.9523 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.9e-05/0.6533, allocations: 52.86 kB / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6533, allocations: 0 / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.638e-05/0.6534, allocations: 72.53 kB / 0.9525 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.6534, allocations: 9.406 kB / 0.9525 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.6534, allocations: 1.344 kB / 0.9525 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.6534, allocations: 1.297 kB / 0.9525 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/0.6535, allocations: 5.844 kB / 0.9525 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.6535, allocations: 10.23 kB / 0.9525 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.6535, allocations: 5.156 kB / 0.9525 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.6535, allocations: 2.875 kB / 0.9525 GB, free: 5.945 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 4.653e-05/0.6536, allocations: 112.6 kB / 0.9526 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.6536, allocations: 17.2 kB / 0.9526 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.994e-05/0.6536, allocations: 3.5 kB / 0.9526 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.6536, allocations: 5.438 kB / 0.9526 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.6536, allocations: 0 / 0.9526 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.6536, allocations: 0 / 0.9526 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.24e-05/0.6537, allocations: 153.8 kB / 0.9528 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6537, allocations: 0 / 0.9528 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.474e-05/0.6537, allocations: 6.5 kB / 0.9528 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.6537, allocations: 3.938 kB / 0.9528 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.6538, allocations: 5.547 kB / 0.9528 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.6538, allocations: 4 kB / 0.9528 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.6538, allocations: 0 / 0.9528 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.183e-05/0.6539, allocations: 78.88 kB / 0.9529 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.6539, allocations: 82.31 kB / 0.9529 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.6539, allocations: 5.188 kB / 0.953 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.009e-05/0.6539, allocations: 4 kB / 0.953 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.654, allocations: 1.375 kB / 0.953 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.654, allocations: 1.312 kB / 0.953 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.719e-05/0.654, allocations: 81.5 kB / 0.953 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.654, allocations: 3.938 kB / 0.953 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002412/0.6542, allocations: 32.89 kB / 0.9531 GB, free: 5.316 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.0003141/0.6546, allocations: 157.8 kB / 0.9532 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.719e-05/0.6547, allocations: 29.64 kB / 0.9532 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6547, allocations: 0 / 0.9532 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.959e-05/0.6547, allocations: 16.27 kB / 0.9533 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.6549, allocations: 6.484 kB / 0.9533 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000203/0.6551, allocations: 105 kB / 0.9534 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.236e-05/0.6552, allocations: 0.6733 MB / 0.954 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.321e-05/0.6552, allocations: 10.23 kB / 0.954 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.42e-05/0.6552, allocations: 9.688 kB / 0.954 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6552, allocations: 0 / 0.954 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of Templates: time 0.002963/0.6582, allocations: 0.9446 MB / 0.955 GB, free: 3.855 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