Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_11_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.005201/0.005201, allocations: 98.69 kB / 15.73 MB, free: 6.027 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.001548/0.001548, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.875/2.875, allocations: 469.8 MB / 0.7425 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 64.12 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3101, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002182/0.3123, allocations: 1.215 MB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008061/0.3132, allocations: 392.6 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.138e-05/0.3132, allocations: 3.938 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/0.3132, allocations: 3.984 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.851e-05/0.3133, allocations: 3.938 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004732/0.3137, allocations: 99.64 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.881e-05/0.3138, allocations: 8 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.3138, allocations: 4 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.509e-05/0.3139, allocations: 15.92 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.541e-05/0.3139, allocations: 7.984 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.3139, allocations: 4 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.3141, allocations: 91.84 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.3142, allocations: 3.984 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.3142, allocations: 7.938 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.3144, allocations: 75.83 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3144, allocations: 0 / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3144, allocations: 3.938 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.3144, allocations: 0 / 1.222 GB, free: 12.37 MB / 0.9825 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.0004641/0.3149, allocations: 355.3 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.3149, allocations: 8.031 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.938e-05/0.315, allocations: 30.75 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/0.315, allocations: 4.938 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.3151, allocations: 176.3 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.3152, allocations: 384 / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.3152, allocations: 4.375 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.3153, allocations: 46.23 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3153, allocations: 3.938 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.3153, allocations: 4 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3153, allocations: 0 / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.599e-05/0.3154, allocations: 4 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.3157, allocations: 237 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.884e-05/0.3158, allocations: 42.44 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.439e-05/0.3158, allocations: 20.86 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.3158, allocations: 0 / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/0.316, allocations: 55.48 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.316, allocations: 0 / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002011/0.3162, allocations: 73.62 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.3162, allocations: 59.39 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.361e-05/0.3163, allocations: 97.86 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.3163, allocations: 29.7 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.3164, allocations: 80.14 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.3164, allocations: 11.91 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.3165, allocations: 25.7 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3166, allocations: 314.8 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.645e-05/0.3166, allocations: 7.984 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.742e-05/0.3167, allocations: 43.44 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.219e-05/0.3168, allocations: 55.34 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.748e-06/0.3168, allocations: 3.938 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001093/0.3169, allocations: 69.56 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3169, allocations: 8 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3169, allocations: 0 / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.3169, allocations: 4.062 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.669e-05/0.317, allocations: 11.98 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.317, allocations: 4 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.317, allocations: 12.14 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.3171, allocations: 8 kB / 1.224 GB, free: 10.23 MB / 0.9825 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 8.734e-05/0.3172, allocations: 114.3 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.3172, allocations: 4 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.757e-05/0.3172, allocations: 3.562 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3172, allocations: 3.984 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3172, allocations: 4 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3172, allocations: 3.938 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.3175, allocations: 294.6 kB / 1.224 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3175, allocations: 0 / 1.224 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.158e-05/0.3175, allocations: 4 kB / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3175, allocations: 0 / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.3175, allocations: 3.984 kB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3176, allocations: 0 / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3176, allocations: 4 kB / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.3177, allocations: 171.4 kB / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.3178, allocations: 77.11 kB / 1.224 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.3178, allocations: 7.984 kB / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.025e-05/0.3178, allocations: 0 / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/0.3179, allocations: 4 kB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.3179, allocations: 0 / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.868e-05/0.3179, allocations: 79.28 kB / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3179, allocations: 0 / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002784/0.3182, allocations: 39.95 kB / 1.225 GB, free: 9.336 MB / 0.9825 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.0007302/0.319, allocations: 0.7732 MB / 1.225 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.3191, allocations: 31.98 kB / 1.225 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.3191, allocations: 0 / 1.225 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.148e-05/0.3191, allocations: 15.94 kB / 1.225 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.3193, allocations: 0 / 1.225 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.3204, allocations: 1.272 MB / 1.227 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.3207, allocations: 0.6768 MB / 1.227 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.953e-05/0.3208, allocations: 4.25 kB / 1.227 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.3208, allocations: 7.438 kB / 1.227 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3208, allocations: 0 / 1.227 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02201/0.3428, allocations: 1.927 MB / 1.229 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/8.449, allocations: 8.062 kB / 1.229 GB, free: 4.633 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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