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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 108 kB / 15.61 MB, free: 152 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.001079/0.001079, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.307/2.307, allocations: 390.3 MB / 0.6647 GB, free: 276 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.89 kB / 0.8126 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5479/0.5492, allocations: 140.4 MB / 0.9497 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001833/0.5511, allocations: 1.21 MB / 0.9509 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006687/0.5518, allocations: 399 kB / 0.9513 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.094e-05/0.5518, allocations: 0 / 0.9513 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.5519, allocations: 3.938 kB / 0.9513 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.635e-05/0.5519, allocations: 1.375 kB / 0.9513 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004133/0.5523, allocations: 97.02 kB / 0.9514 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.87e-05/0.5524, allocations: 15.55 kB / 0.9514 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.629e-05/0.5524, allocations: 1.375 kB / 0.9514 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.753e-05/0.5524, allocations: 3.969 kB / 0.9514 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.38e-05/0.5524, allocations: 14.67 kB / 0.9514 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.5525, allocations: 5.25 kB / 0.9514 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.5526, allocations: 92.06 kB / 0.9515 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.5527, allocations: 5.234 kB / 0.9515 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.5527, allocations: 7.016 kB / 0.9515 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.5528, allocations: 76.28 kB / 0.9516 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5528, allocations: 0 / 0.9516 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5528, allocations: 5.484 kB / 0.9516 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.5529, allocations: 0 / 0.9516 GB, free: 7.785 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.0003367/0.5532, allocations: 341.3 kB / 0.9519 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.5532, allocations: 13.69 kB / 0.9519 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.727e-05/0.5533, allocations: 40.02 kB / 0.952 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.5533, allocations: 2.281 kB / 0.952 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.61e-05/0.5534, allocations: 168 kB / 0.9521 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.5534, allocations: 1.688 kB / 0.9521 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.5534, allocations: 2.719 kB / 0.9521 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.12e-05/0.5535, allocations: 44.19 kB / 0.9522 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.5535, allocations: 3.938 kB / 0.9522 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.026e-06/0.5536, allocations: 0 / 0.9522 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.5536, allocations: 1.562 kB / 0.9522 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.666e-05/0.5536, allocations: 12.2 kB / 0.9522 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.5538, allocations: 247.3 kB / 0.9524 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.877e-05/0.5539, allocations: 40.23 kB / 0.9525 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.773e-05/0.554, allocations: 16.12 kB / 0.9525 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-06/0.554, allocations: 0 / 0.9525 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001015/0.5541, allocations: 56.75 kB / 0.9525 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.5541, allocations: 0 / 0.9525 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001687/0.5543, allocations: 85.22 kB / 0.9526 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.5543, allocations: 57.88 kB / 0.9527 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.031e-05/0.5543, allocations: 100.2 kB / 0.9528 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.5544, allocations: 26.98 kB / 0.9528 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.322e-05/0.5544, allocations: 88.27 kB / 0.9529 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.5544, allocations: 14.28 kB / 0.9529 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.5544, allocations: 18.91 kB / 0.9529 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.8e-05/0.5545, allocations: 320.3 kB / 0.9532 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.5545, allocations: 5.25 kB / 0.9532 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.055e-05/0.5545, allocations: 35.95 kB / 0.9532 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.071e-05/0.5546, allocations: 50.69 kB / 0.9533 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5546, allocations: 3.938 kB / 0.9533 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.987e-05/0.5547, allocations: 69.95 kB / 0.9534 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.5547, allocations: 7.156 kB / 0.9534 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.5547, allocations: 1.75 kB / 0.9534 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.5547, allocations: 1.375 kB / 0.9534 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.117e-05/0.5548, allocations: 15.19 kB / 0.9534 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.5548, allocations: 4.938 kB / 0.9534 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/0.5548, allocations: 5.953 kB / 0.9534 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.5549, allocations: 2.25 kB / 0.9534 GB, free: 5.855 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 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.849e-05/0.5549, allocations: 117 kB / 0.9535 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.5549, allocations: 2.062 kB / 0.9535 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.933e-05/0.5549, allocations: 7.5 kB / 0.9535 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.555, allocations: 0.875 kB / 0.9535 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.555, allocations: 0 / 0.9535 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.555, allocations: 5.062 kB / 0.9535 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.5551, allocations: 308.5 kB / 0.9538 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.5551, allocations: 0.9062 kB / 0.9538 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/0.5552, allocations: 2.844 kB / 0.9538 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.5552, allocations: 1.469 kB / 0.9538 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.5552, allocations: 4 kB / 0.9538 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.5552, allocations: 1.219 kB / 0.9538 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5552, allocations: 3.938 kB / 0.9538 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.5553, allocations: 167.8 kB / 0.954 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.556e-05/0.5553, allocations: 78.3 kB / 0.9541 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.5553, allocations: 9.094 kB / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.149e-05/0.5554, allocations: 0 / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.5554, allocations: 6.422 kB / 0.9541 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.5554, allocations: 1.312 kB / 0.9541 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.756e-05/0.5555, allocations: 76.53 kB / 0.9542 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5555, allocations: 1.188 kB / 0.9542 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002749/0.5557, allocations: 32.06 kB / 0.9542 GB, free: 5.035 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,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0004491/0.5562, allocations: 0.7624 MB / 0.9549 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.331e-05/0.5563, allocations: 35.95 kB / 0.955 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5563, allocations: 5.25 kB / 0.955 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.039e-05/0.5563, allocations: 16.8 kB / 0.955 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.5566, allocations: 10.12 kB / 0.955 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006748/0.5572, allocations: 1.251 MB / 0.9562 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.57e-05/0.5573, allocations: 0.6819 MB / 0.9569 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.988e-05/0.5573, allocations: 6.281 kB / 0.9569 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.254e-05/0.5574, allocations: 13.48 kB / 0.9569 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.5574, allocations: 0 / 0.9569 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01566/0.573, allocations: 1.874 MB / 0.9587 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.23/7.803, allocations: 11.95 kB / 0.9587 GB, free: 1.293 MB / 0.7169 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.csv","/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) "" Variables in the reference:time,y Variables in the result:time,y