Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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.WeibullVariableGeneration,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",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.004438/0.004438, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001228/0.001228, allocations: 197.7 kB / 16.68 MB, free: 5.977 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: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.838/2.838, allocations: 482.6 MB / 0.755 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 67.91 kB / 1.083 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3099, allocations: 162.3 MB / 1.242 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002384/0.3123, allocations: 1.208 MB / 1.243 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000809/0.3131, allocations: 406.5 kB / 1.243 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.227e-05/0.3131, allocations: 0 / 1.243 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.3132, allocations: 4 kB / 1.243 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.451e-05/0.3132, allocations: 3.938 kB / 1.243 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005111/0.3137, allocations: 95.69 kB / 1.243 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.501e-05/0.3138, allocations: 19.94 kB / 1.244 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.861e-05/0.3138, allocations: 4 kB / 1.244 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.7e-05/0.3139, allocations: 15.92 kB / 1.244 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.255e-05/0.3139, allocations: 0 / 1.244 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.3139, allocations: 4 kB / 1.244 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.3141, allocations: 95.83 kB / 1.244 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.3141, allocations: 7.984 kB / 1.244 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.3142, allocations: 7.938 kB / 1.244 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.3144, allocations: 79.77 kB / 1.244 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3144, allocations: 4 kB / 1.244 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3144, allocations: 4 kB / 1.244 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.3144, allocations: 0 / 1.244 GB, free: 7.949 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.0004751/0.3149, allocations: 351.3 kB / 1.244 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.3149, allocations: 8.031 kB / 1.244 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.591e-05/0.315, allocations: 30.75 kB / 1.244 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.315, allocations: 4.938 kB / 1.244 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.3151, allocations: 172.3 kB / 1.244 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.3152, allocations: 384 / 1.244 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.3152, allocations: 4.375 kB / 1.244 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.669e-05/0.3153, allocations: 46.19 kB / 1.244 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.3153, allocations: 3.938 kB / 1.244 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.3153, allocations: 4 kB / 1.244 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3153, allocations: 0 / 1.244 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.974e-05/0.3153, allocations: 7.984 kB / 1.244 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.3157, allocations: 241 kB / 1.245 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.465e-05/0.3158, allocations: 38.52 kB / 1.245 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.737e-05/0.3158, allocations: 28.81 kB / 1.245 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.3158, allocations: 0 / 1.245 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.316, allocations: 63.38 kB / 1.245 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.316, allocations: 3.938 kB / 1.245 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0001904/0.3162, allocations: 69.69 kB / 1.245 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.3162, allocations: 59.34 kB / 1.245 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.637e-05/0.3163, allocations: 101.8 kB / 1.245 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.3163, allocations: 25.7 kB / 1.245 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.3164, allocations: 84.14 kB / 1.245 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.3164, allocations: 15.84 kB / 1.245 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.3165, allocations: 25.7 kB / 1.245 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3166, allocations: 310.8 kB / 1.245 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.411e-05/0.3166, allocations: 8.25 kB / 1.245 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.705e-05/0.3167, allocations: 39.42 kB / 1.245 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.31e-05/0.3168, allocations: 55.36 kB / 1.245 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3168, allocations: 3.938 kB / 1.245 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001119/0.3169, allocations: 73.8 kB / 1.246 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3169, allocations: 12.06 kB / 1.246 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3169, allocations: 0 / 1.246 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3169, allocations: 0 / 1.246 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.058e-05/0.317, allocations: 15.92 kB / 1.246 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.317, allocations: 4 kB / 1.246 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.244e-05/0.317, allocations: 0 / 1.246 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.317, allocations: 8 kB / 1.246 GB, free: 5.809 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 7.718e-05/0.3171, allocations: 110.3 kB / 1.246 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.3171, allocations: 4 kB / 1.246 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.3172, allocations: 11.56 kB / 1.246 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3172, allocations: 0 / 1.246 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3172, allocations: 0 / 1.246 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.3172, allocations: 3.984 kB / 1.246 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.3175, allocations: 298.5 kB / 1.246 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3175, allocations: 0 / 1.246 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-05/0.3175, allocations: 4 kB / 1.246 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3175, allocations: 0 / 1.246 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.3175, allocations: 0 / 1.246 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.3175, allocations: 7.984 kB / 1.246 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3175, allocations: 3.938 kB / 1.246 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.3177, allocations: 167.4 kB / 1.246 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.3177, allocations: 81.05 kB / 1.246 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.3178, allocations: 0 / 1.246 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.686e-05/0.3178, allocations: 11.98 kB / 1.246 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.3178, allocations: 8 kB / 1.246 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.3179, allocations: 4 kB / 1.246 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.341e-05/0.3179, allocations: 79.28 kB / 1.246 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3179, allocations: 4 kB / 1.246 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002693/0.3182, allocations: 35.86 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.0007051/0.3189, allocations: 0.7587 MB / 1.247 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.319, allocations: 35.91 kB / 1.247 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.319, allocations: 0 / 1.247 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.511e-05/0.3191, allocations: 19.94 kB / 1.247 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.3193, allocations: 0 / 1.247 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.3204, allocations: 1.269 MB / 1.248 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.3207, allocations: 0.6807 MB / 1.249 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.971e-05/0.3207, allocations: 4.234 kB / 1.249 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.3207, allocations: 18.81 kB / 1.249 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.3207, allocations: 0 / 1.249 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03351/0.3542, allocations: 1.98 MB / 1.251 GB, free: 132 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.53/8.884, allocations: 8.188 kB / 1.251 GB, free: 128 kB / 0.9981 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:k,lambda,seed,time,y