Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_latest_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.001013/0.001013, 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.001185/0.001185, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.323/1.323, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.505/2.505, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 64.05 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2866, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002098/0.2887, allocations: 1.212 MB / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006748/0.2894, allocations: 402.7 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.984e-05/0.2894, allocations: 4 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.867e-06/0.2894, allocations: 0 / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.38e-05/0.2895, allocations: 3.938 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.2898, allocations: 95.72 kB / 1.055 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.059e-05/0.2899, allocations: 15.92 kB / 1.055 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.193e-05/0.2899, allocations: 4 kB / 1.055 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.451e-05/0.29, allocations: 11.92 kB / 1.055 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.028e-05/0.29, allocations: 7.984 kB / 1.055 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.286e-06/0.29, allocations: 0 / 1.055 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.2902, allocations: 91.91 kB / 1.055 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.2902, allocations: 0 / 1.055 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.2902, allocations: 15.92 kB / 1.055 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.2903, allocations: 79.83 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2904, allocations: 11.92 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.11e-07/0.2904, allocations: 0 / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.786e-06/0.2904, allocations: 0 / 1.055 GB, free: 6.348 MB / 0.8106 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.0003083/0.2907, allocations: 339.6 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.2907, allocations: 8.625 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.948e-05/0.2908, allocations: 38.67 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.982e-05/0.2908, allocations: 4.938 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.382e-05/0.2909, allocations: 168.5 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.2909, allocations: 4.375 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.2909, allocations: 4.375 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.653e-05/0.291, allocations: 38.25 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-06/0.291, allocations: 7.875 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.291, allocations: 0 / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.291, allocations: 4 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.356e-05/0.291, allocations: 7.984 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.2913, allocations: 241 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.361e-05/0.2914, allocations: 38.61 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.691e-05/0.2914, allocations: 20.84 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-06/0.2914, allocations: 0 / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001107/0.2915, allocations: 55.34 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.2915, allocations: 0 / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0001496/0.2917, allocations: 77.67 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.2917, allocations: 51.41 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.724e-05/0.2918, allocations: 97.84 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.2918, allocations: 29.7 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.2918, allocations: 80.14 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.33e-05/0.2918, allocations: 15.75 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.2919, allocations: 21.72 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.799e-05/0.292, allocations: 323 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.292, allocations: 11.94 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.366e-05/0.292, allocations: 35.42 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.372e-05/0.2921, allocations: 51.36 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2921, allocations: 3.938 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.428e-05/0.2922, allocations: 73.61 kB / 1.057 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.2922, allocations: 8 kB / 1.057 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.2922, allocations: 0 / 1.057 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/0.2922, allocations: 0 / 1.057 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.786e-05/0.2923, allocations: 8 kB / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2923, allocations: 3.938 kB / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.538e-05/0.2923, allocations: 11.89 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.2923, allocations: 4 kB / 1.057 GB, free: 4.238 MB / 0.8106 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 6.262e-05/0.2924, allocations: 121.8 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.2924, allocations: 4 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.471e-05/0.2924, allocations: 7.5 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2924, allocations: 0 / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.2924, allocations: 256 / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.2924, allocations: 0 / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.2926, allocations: 314.5 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2927, allocations: 0 / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.14e-05/0.2927, allocations: 4 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2927, allocations: 0 / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.2927, allocations: 4 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2927, allocations: 0 / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2927, allocations: 0 / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.2928, allocations: 163.5 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.195e-05/0.2929, allocations: 85.02 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.2929, allocations: 0 / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.873e-05/0.2929, allocations: 0 / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.293, allocations: 3.984 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.293, allocations: 12 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.781e-05/0.293, allocations: 79.22 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.293, allocations: 0 / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002571/0.2933, allocations: 31.94 kB / 1.057 GB, free: 3.328 MB / 0.8106 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.0005239/0.2938, allocations: 0.7764 MB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.083e-05/0.2939, allocations: 35.92 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.2939, allocations: 0 / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.053e-05/0.2939, allocations: 19.98 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.2941, allocations: 5.5 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009351/0.2951, allocations: 1.242 MB / 1.059 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.2953, allocations: 0.6768 MB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.638e-05/0.2953, allocations: 0 / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.346e-05/0.2953, allocations: 19.42 kB / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.2953, allocations: 0 / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5815/0.8769, allocations: 1.872 MB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.788/7.665, allocations: 12.75 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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