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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.008738/0.008738, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.002288/0.002288, allocations: 202.5 kB / 16.68 MB, free: 5.969 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.705/2.705, allocations: 482.6 MB / 0.755 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 59.91 kB / 1.083 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2991, allocations: 162.3 MB / 1.242 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002009/0.3012, allocations: 1.215 MB / 1.243 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007388/0.3019, allocations: 394.7 kB / 1.243 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.179e-05/0.3019, allocations: 7.938 kB / 1.243 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.573e-05/0.302, allocations: 0 / 1.243 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.561e-05/0.302, allocations: 0 / 1.243 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.3024, allocations: 95.64 kB / 1.243 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.087e-05/0.3025, allocations: 15.98 kB / 1.243 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.389e-05/0.3025, allocations: 0 / 1.243 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.668e-05/0.3026, allocations: 7.938 kB / 1.244 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.885e-05/0.3026, allocations: 15.97 kB / 1.244 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.3026, allocations: 0 / 1.244 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.3028, allocations: 99.84 kB / 1.244 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.164e-05/0.3028, allocations: 0 / 1.244 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.649e-05/0.3029, allocations: 7.938 kB / 1.244 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.303, allocations: 83.75 kB / 1.244 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.303, allocations: 0 / 1.244 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.303, allocations: 0 / 1.244 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.303, allocations: 0 / 1.244 GB, free: 7.926 MB / 0.9981 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.0004241/0.3035, allocations: 351.3 kB / 1.244 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.3035, allocations: 8.031 kB / 1.244 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.476e-05/0.3036, allocations: 38.75 kB / 1.244 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.516e-05/0.3036, allocations: 8.922 kB / 1.244 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.3037, allocations: 164.3 kB / 1.244 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.3037, allocations: 384 / 1.244 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.3037, allocations: 4.375 kB / 1.244 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9e-05/0.3038, allocations: 38.25 kB / 1.244 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3038, allocations: 7.922 kB / 1.244 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.3039, allocations: 0 / 1.244 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.3039, allocations: 4 kB / 1.244 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.645e-05/0.3039, allocations: 11.98 kB / 1.244 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000295/0.3042, allocations: 237 kB / 1.245 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.428e-05/0.3043, allocations: 42.45 kB / 1.245 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.91e-05/0.3043, allocations: 16.94 kB / 1.245 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-06/0.3043, allocations: 0 / 1.245 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.3045, allocations: 59.36 kB / 1.245 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3045, allocations: 0 / 1.245 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0001824/0.3047, allocations: 77.61 kB / 1.245 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.3047, allocations: 51.41 kB / 1.245 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.963e-05/0.3048, allocations: 101.8 kB / 1.245 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.3048, allocations: 25.7 kB / 1.245 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.3048, allocations: 84.27 kB / 1.245 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.3049, allocations: 19.84 kB / 1.245 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.3049, allocations: 17.72 kB / 1.245 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3051, allocations: 326.8 kB / 1.245 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.3051, allocations: 4 kB / 1.245 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.976e-05/0.3051, allocations: 35.42 kB / 1.245 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.865e-05/0.3052, allocations: 51.38 kB / 1.245 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3052, allocations: 3.938 kB / 1.245 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001034/0.3053, allocations: 69.61 kB / 1.245 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3053, allocations: 8 kB / 1.245 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3053, allocations: 3.938 kB / 1.245 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.3054, allocations: 0 / 1.245 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.904e-05/0.3054, allocations: 12 kB / 1.245 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3054, allocations: 0 / 1.245 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.536e-05/0.3055, allocations: 15.95 kB / 1.246 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.3055, allocations: 4 kB / 1.246 GB, free: 5.801 MB / 0.9981 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.137e-05/0.3056, allocations: 118.3 kB / 1.246 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.3056, allocations: 4 kB / 1.246 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2e-05/0.3056, allocations: 3.562 kB / 1.246 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.3056, allocations: 0 / 1.246 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3056, allocations: 256 / 1.246 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3056, allocations: 0 / 1.246 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.3059, allocations: 314.6 kB / 1.246 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3059, allocations: 0 / 1.246 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.3059, allocations: 7.984 kB / 1.246 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3059, allocations: 0 / 1.246 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.3059, allocations: 4 kB / 1.246 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3059, allocations: 0 / 1.246 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3059, allocations: 0 / 1.246 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.3061, allocations: 167.4 kB / 1.246 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.3061, allocations: 85.06 kB / 1.246 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.3061, allocations: 4 kB / 1.246 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.578e-05/0.3062, allocations: 0 / 1.246 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.3062, allocations: 0 / 1.246 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.3062, allocations: 7.984 kB / 1.246 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.44e-05/0.3063, allocations: 75.28 kB / 1.246 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3063, allocations: 0 / 1.246 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002565/0.3065, allocations: 35.88 kB / 1.246 GB, free: 4.887 MB / 0.9981 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.0006624/0.3072, allocations: 0.7659 MB / 1.247 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.842e-05/0.3073, allocations: 27.98 kB / 1.247 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3073, allocations: 0 / 1.247 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.836e-05/0.3074, allocations: 32.03 kB / 1.247 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.3076, allocations: 0 / 1.247 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.3086, allocations: 1.257 MB / 1.248 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.3089, allocations: 0.6729 MB / 1.249 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.044e-05/0.3089, allocations: 8.234 kB / 1.249 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.3089, allocations: 11.53 kB / 1.249 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.309, allocations: 3.938 kB / 1.249 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.357/0.6659, allocations: 1.925 MB / 1.251 GB, free: 200 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.439/8.104, allocations: 6.484 kB / 1.251 GB, free: 196 kB / 0.9981 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=400 --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