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.004284/0.004284, allocations: 102 kB / 15.73 MB, free: 6.051 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.001048/0.001048, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.231/2.231, allocations: 390.3 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 71.88 kB / 0.9504 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8035/0.8049, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002212/0.8071, allocations: 1.207 MB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008248/0.808, allocations: 394.2 kB / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.804e-05/0.808, allocations: 0 / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.808, allocations: 1.312 kB / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.63e-05/0.8081, allocations: 4.641 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.8086, allocations: 97.03 kB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.716e-05/0.8087, allocations: 21.34 kB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.825e-05/0.8087, allocations: 2.844 kB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.362e-05/0.8088, allocations: 8.594 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.233e-05/0.8088, allocations: 8.938 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.8088, allocations: 5.984 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.809, allocations: 85.31 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.8091, allocations: 10.38 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.8091, allocations: 3.141 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.8093, allocations: 84.45 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.8093, allocations: 0 / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8093, allocations: 0 / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.8093, allocations: 1.125 kB / 1.089 GB, free: 4.062 MB / 0.8575 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.0004415/0.8098, allocations: 347.4 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.8098, allocations: 9.562 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.036e-05/0.8099, allocations: 33.19 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.8099, allocations: 9.906 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.883e-05/0.81, allocations: 168.8 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.8101, allocations: 10.08 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.8101, allocations: 3.188 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.8102, allocations: 36.84 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.8102, allocations: 5.094 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.8102, allocations: 4.656 kB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.8102, allocations: 1.125 kB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.039e-05/0.8103, allocations: 12.55 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.8106, allocations: 240 kB / 1.09 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.501e-05/0.8106, allocations: 35.42 kB / 1.09 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.152e-05/0.8107, allocations: 25.34 kB / 1.09 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.8107, allocations: 1.125 kB / 1.09 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.8108, allocations: 58.12 kB / 1.09 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.8109, allocations: 1.031 kB / 1.09 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0001997/0.8111, allocations: 70.89 kB / 1.09 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.8111, allocations: 54.3 kB / 1.09 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.949e-05/0.8112, allocations: 101.1 kB / 1.09 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.8112, allocations: 27.25 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.032e-05/0.8112, allocations: 85.2 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.8112, allocations: 19.03 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.8113, allocations: 21.62 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.746e-05/0.8113, allocations: 313.3 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.511e-05/0.8114, allocations: 14.55 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.004e-05/0.8114, allocations: 42.02 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.735e-05/0.8115, allocations: 48.86 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.8115, allocations: 3.938 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001053/0.8116, allocations: 72.31 kB / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.8116, allocations: 6.125 kB / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.8116, allocations: 1.578 kB / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.8116, allocations: 5.125 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.327e-05/0.8117, allocations: 9.188 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.8117, allocations: 1.969 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.033e-05/0.8117, allocations: 10.83 kB / 1.091 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.8118, allocations: 5.906 kB / 1.091 GB, free: 2.188 MB / 0.8575 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 5.979e-05/0.8118, allocations: 113.9 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.8118, allocations: 1.766 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.8119, allocations: 9.203 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.8119, allocations: 0 / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.8119, allocations: 4.844 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.8119, allocations: 4.5 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.8121, allocations: 295.5 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.8121, allocations: 8.547 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.121e-05/0.8121, allocations: 4.672 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.8121, allocations: 0 / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.8122, allocations: 1.812 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.8122, allocations: 1.25 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.8122, allocations: 3.938 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.8123, allocations: 165.4 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.8123, allocations: 82.75 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.8123, allocations: 1.391 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.343e-05/0.8124, allocations: 5.672 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.232e-05/0.8124, allocations: 2.547 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.8124, allocations: 2.641 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.213e-05/0.8125, allocations: 78.16 kB / 1.092 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8125, allocations: 4.094 kB / 1.092 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000309/0.8128, allocations: 35.14 kB / 1.092 GB, free: 1.395 MB / 0.8575 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.0006753/0.8135, allocations: 0.7565 MB / 1.093 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001195/0.8136, allocations: 45.02 kB / 1.093 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8136, allocations: 0 / 1.093 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.718e-05/0.8137, allocations: 19.17 kB / 1.093 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.8139, allocations: 7.125 kB / 1.093 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.8149, allocations: 1.26 MB / 1.094 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.8153, allocations: 0.6767 MB / 1.095 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.485e-05/0.8153, allocations: 3.172 kB / 1.095 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.8153, allocations: 9.609 kB / 1.095 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.8153, allocations: 4.781 kB / 1.095 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.8356, allocations: 1.901 MB / 1.096 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.446/8.282, allocations: 16.92 kB / 1.097 GB, free: 14.29 MB / 0.8731 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