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.001251/0.001251, 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.001103/0.001103, allocations: 195.8 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.766/2.766, allocations: 469.8 MB / 0.7424 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 69.73 kB / 0.9087 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.289, allocations: 159.2 MB / 1.064 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002258/0.2913, allocations: 1.209 MB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008027/0.2922, allocations: 400.6 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.389e-05/0.2922, allocations: 3.938 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.2922, allocations: 0 / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.794e-05/0.2922, allocations: 4 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.2927, allocations: 103.6 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.792e-05/0.2928, allocations: 11.98 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.2928, allocations: 0 / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.379e-05/0.2929, allocations: 11.94 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.751e-05/0.2929, allocations: 11.97 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.2929, allocations: 0 / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.2931, allocations: 91.84 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.2931, allocations: 4 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.2932, allocations: 7.938 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.2934, allocations: 75.83 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2934, allocations: 11.94 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2934, allocations: 0 / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.2934, allocations: 0 / 1.066 GB, free: 12.33 MB / 0.8262 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.0004505/0.2939, allocations: 339.6 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2939, allocations: 12.03 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.39e-05/0.294, allocations: 34.75 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.294, allocations: 4.844 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.2941, allocations: 180.5 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.2941, allocations: 4.375 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.2942, allocations: 4.375 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.661e-05/0.2943, allocations: 38.25 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.2943, allocations: 3.938 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.2943, allocations: 0 / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2943, allocations: 0 / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.869e-05/0.2943, allocations: 11.97 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.2947, allocations: 249 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.051e-05/0.2948, allocations: 38.45 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.969e-05/0.2948, allocations: 12.94 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-06/0.2948, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.2949, allocations: 59.41 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.2949, allocations: 4 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0001918/0.2951, allocations: 73.8 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.2952, allocations: 55.41 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.166e-05/0.2953, allocations: 93.86 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.2953, allocations: 25.7 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.739e-05/0.2953, allocations: 88.12 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.2954, allocations: 11.81 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.2954, allocations: 17.72 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.2955, allocations: 327 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.068e-05/0.2956, allocations: 8 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.38e-05/0.2956, allocations: 39.42 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.244e-05/0.2957, allocations: 47.38 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2957, allocations: 7.938 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001054/0.2958, allocations: 73.61 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.2958, allocations: 4 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.2958, allocations: 4 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.2959, allocations: 3.938 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.621e-05/0.2959, allocations: 8 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.2959, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.529e-05/0.296, allocations: 7.906 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.296, allocations: 0 / 1.068 GB, free: 10.22 MB / 0.8262 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.607e-05/0.2961, allocations: 133.7 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-06/0.2961, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.024e-05/0.2961, allocations: 7.562 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2961, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2961, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2961, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.2964, allocations: 306.5 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2964, allocations: 0 / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.728e-05/0.2964, allocations: 0 / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2964, allocations: 8 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.2964, allocations: 0 / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2964, allocations: 0 / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2964, allocations: 0 / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.2966, allocations: 167.5 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.103e-05/0.2966, allocations: 85 kB / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.2967, allocations: 4 kB / 1.068 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.762e-05/0.2967, allocations: 4.125 kB / 1.068 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/0.2967, allocations: 4 kB / 1.068 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.2968, allocations: 7.984 kB / 1.068 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.504e-05/0.2968, allocations: 75.28 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2968, allocations: 0 / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002587/0.2971, allocations: 31.94 kB / 1.069 GB, free: 9.305 MB / 0.8262 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.0007047/0.2978, allocations: 0.7653 MB / 1.069 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.2979, allocations: 31.98 kB / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2979, allocations: 0 / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.437e-05/0.2979, allocations: 19.92 kB / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.2981, allocations: 7.938 kB / 1.069 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.2992, allocations: 1.243 MB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.2995, allocations: 0.6807 MB / 1.071 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.911e-05/0.2995, allocations: 0 / 1.071 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.2995, allocations: 15.44 kB / 1.071 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of SimCode: time 1.934e-06/0.2995, allocations: 0 / 1.071 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.042/2.342, allocations: 1.879 MB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/12.36, allocations: 10.56 kB / 1.073 GB, free: 4.641 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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:mu,seed,time,y