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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008268/0.0008267, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005284/0.005284, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.328/1.328, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.728/2.728, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003072, allocations: 9.062 kB / 0.9029 GB, free: 36.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2951, allocations: 159.6 MB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001581/0.2967, allocations: 0.9353 MB / 1.06 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009495/0.2977, allocations: 406.8 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.2977, allocations: 3.938 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.2978, allocations: 0 / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.788e-05/0.2978, allocations: 0 / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005162/0.2983, allocations: 83.78 kB / 1.06 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.35e-05/0.2984, allocations: 12 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.665e-05/0.2984, allocations: 3.984 kB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.283e-05/0.2985, allocations: 7.938 kB / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.559e-05/0.2985, allocations: 4 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.2985, allocations: 0 / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.2987, allocations: 87.84 kB / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.2988, allocations: 7.984 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.2988, allocations: 41.62 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.299, allocations: 79.89 kB / 1.06 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.299, allocations: 0 / 1.06 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.206e-06/0.299, allocations: 0 / 1.06 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.299, allocations: 3.938 kB / 1.06 GB, free: 3.191 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.0004049/0.2994, allocations: 331.6 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.2994, allocations: 11.97 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.031e-05/0.2995, allocations: 46.67 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.298e-05/0.2995, allocations: 4.938 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.2997, allocations: 164.6 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.2997, allocations: 4.375 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.2997, allocations: 384 / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.094e-05/0.2998, allocations: 42.25 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.2998, allocations: 7.922 kB / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.2998, allocations: 0 / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2998, allocations: 0 / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.609e-05/0.2998, allocations: 4 kB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.3002, allocations: 252.8 kB / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.411e-05/0.3002, allocations: 42.5 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.718e-05/0.3003, allocations: 8.859 kB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-06/0.3003, allocations: 0 / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.3004, allocations: 63.48 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3004, allocations: 0 / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0001741/0.3006, allocations: 73.62 kB / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.3007, allocations: 51.41 kB / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.205e-05/0.3007, allocations: 101.8 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.3008, allocations: 25.7 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.3008, allocations: 88.12 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.3008, allocations: 15.94 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.3009, allocations: 13.72 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.82e-05/0.301, allocations: 318.8 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.091e-05/0.301, allocations: 11.94 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.006e-05/0.301, allocations: 39.41 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.975e-05/0.3011, allocations: 59.3 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3011, allocations: 3.938 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001054/0.3012, allocations: 73.55 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3012, allocations: 4 kB / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3013, allocations: 4 kB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.3013, allocations: 0 / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.051e-05/0.3013, allocations: 8 kB / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.3013, allocations: 0 / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.683e-05/0.3014, allocations: 8.047 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.3014, allocations: 4 kB / 1.062 GB, free: 1.082 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 8.206e-05/0.3015, allocations: 125.7 kB / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.3015, allocations: 3.906 kB / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.158e-05/0.3015, allocations: 11.56 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.3015, allocations: 0 / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3015, allocations: 256 / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3016, allocations: 0 / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.3018, allocations: 302.6 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3018, allocations: 4 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.043e-05/0.3018, allocations: 4 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3018, allocations: 0 / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.3018, allocations: 0 / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3018, allocations: 0 / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3019, allocations: 0 / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.302, allocations: 167.4 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.302, allocations: 77.11 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.3021, allocations: 8 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.965e-05/0.3021, allocations: 0 / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.3021, allocations: 3.984 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.3021, allocations: 8 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.3022, allocations: 75.28 kB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3022, allocations: 0 / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002727/0.3025, allocations: 31.94 kB / 1.063 GB, free: 184 kB / 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.0006509/0.3031, allocations: 0.7824 MB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.717e-05/0.3032, allocations: 35.92 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3032, allocations: 0 / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.051e-05/0.3033, allocations: 16.11 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.3035, allocations: 8 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.3045, allocations: 1.255 MB / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.3047, allocations: 0.677 MB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.117e-05/0.3048, allocations: 8 kB / 1.066 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.3048, allocations: 7.438 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.3048, allocations: 0 / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0121/0.3169, allocations: 1.656 MB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002372/0.3172, allocations: 290.5 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/2.114, allocations: 0.625 kB / 1.068 GB, free: 11.4 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