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.00758/0.00758, allocations: 99.66 kB / 15.73 MB, free: 5.949 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.001277/0.001276, allocations: 193.1 kB / 16.67 MB, free: 5.875 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.641/1.641, allocations: 222.9 MB / 240.4 MB, free: 4.164 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.479/2.479, allocations: 390.3 MB / 0.6648 GB, free: 132 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 58.5 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2907, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002092/0.2929, allocations: 1.207 MB / 1.089 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007809/0.2937, allocations: 396.5 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.606e-05/0.2937, allocations: 0 / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.2938, allocations: 3.938 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.296e-05/0.2938, allocations: 0 / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.2943, allocations: 99.64 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.524e-05/0.2944, allocations: 11.98 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.2945, allocations: 8 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.139e-05/0.2945, allocations: 15.88 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.475e-05/0.2945, allocations: 7.984 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.2945, allocations: 0 / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.2947, allocations: 91.91 kB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.2948, allocations: 3.984 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.2948, allocations: 7.938 kB / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.295, allocations: 79.83 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.295, allocations: 3.938 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.142e-06/0.295, allocations: 0 / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.295, allocations: 0 / 1.089 GB, free: 72 kB / 0.8419 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.0004298/0.2954, allocations: 347.6 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2955, allocations: 8.031 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.637e-05/0.2955, allocations: 30.75 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.2956, allocations: 8.844 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.2957, allocations: 171.2 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.2957, allocations: 384 / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.2957, allocations: 4.375 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.473e-05/0.2958, allocations: 38.25 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.2958, allocations: 11.94 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.2958, allocations: 0 / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.2958, allocations: 0 / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.102e-05/0.2959, allocations: 15.91 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.2962, allocations: 241 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.236e-05/0.2963, allocations: 34.52 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/0.2963, allocations: 24.94 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/0.2963, allocations: 0 / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.2965, allocations: 59.34 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.2965, allocations: 0 / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0001845/0.2967, allocations: 73.67 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.2967, allocations: 55.41 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.242e-05/0.2968, allocations: 97.86 kB / 1.09 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.2968, allocations: 33.69 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.2968, allocations: 80.14 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.2969, allocations: 12.38 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.2969, allocations: 21.72 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.794e-05/0.297, allocations: 318.8 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.06e-05/0.297, allocations: 11.88 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.78e-05/0.2971, allocations: 43.48 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.599e-05/0.2972, allocations: 47.38 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2972, allocations: 3.938 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.67e-05/0.2973, allocations: 69.61 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2973, allocations: 8 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2973, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.2973, allocations: 4.062 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.778e-05/0.2974, allocations: 8 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.2974, allocations: 4 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.936e-05/0.2974, allocations: 12.12 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.2974, allocations: 4 kB / 1.091 GB, free: 13.95 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 7.619e-05/0.2975, allocations: 117.7 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.2975, allocations: 8 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.986e-05/0.2976, allocations: 3.562 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2976, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2976, allocations: 4 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2976, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.2978, allocations: 298.6 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2978, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/0.2979, allocations: 7.938 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2979, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.2979, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2979, allocations: 320 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2979, allocations: 4 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.298, allocations: 171.5 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.2981, allocations: 85.09 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.2981, allocations: 4 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.715e-05/0.2981, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.2982, allocations: 4 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.2982, allocations: 3.984 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.002e-05/0.2982, allocations: 79.28 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2982, allocations: 96 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002632/0.2985, allocations: 35.94 kB / 1.092 GB, free: 13.04 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.0006749/0.2992, allocations: 0.7629 MB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.352e-05/0.2993, allocations: 35.92 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2993, allocations: 4 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.36e-05/0.2993, allocations: 15.98 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.2995, allocations: 1.688 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009765/0.3005, allocations: 1.254 MB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.3008, allocations: 0.6768 MB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.085e-05/0.3008, allocations: 4 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.3008, allocations: 15.42 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.3008, allocations: 0 / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.338/1.638, allocations: 1.91 MB / 1.096 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.415/9.053, allocations: 11.41 kB / 1.097 GB, free: 8.359 MB / 0.8575 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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:mu,seed,time,y