Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",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.004228/0.004228, allocations: 98.06 kB / 15.73 MB, free: 6.012 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.001169/0.001169, allocations: 197 kB / 16.68 MB, free: 5.93 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.646/2.646, allocations: 482.6 MB / 0.7551 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 63.45 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3089, allocations: 162.3 MB / 1.242 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002289/0.3113, allocations: 1.231 MB / 1.243 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008741/0.3122, allocations: 444.3 kB / 1.243 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.307e-05/0.3122, allocations: 0 / 1.243 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.3122, allocations: 0 / 1.243 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.237e-05/0.3123, allocations: 7.922 kB / 1.243 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.3128, allocations: 107.6 kB / 1.244 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.119e-05/0.3129, allocations: 23.91 kB / 1.244 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.451e-05/0.3129, allocations: 8 kB / 1.244 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.052e-05/0.3129, allocations: 7.938 kB / 1.244 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.985e-05/0.313, allocations: 15.92 kB / 1.244 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.313, allocations: 0 / 1.244 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.3132, allocations: 103.8 kB / 1.244 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.3132, allocations: 4 kB / 1.244 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.3133, allocations: 15.88 kB / 1.244 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.3134, allocations: 99.95 kB / 1.244 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.3135, allocations: 0 / 1.244 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.61e-07/0.3135, allocations: 4 kB / 1.244 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.3135, allocations: 0 / 1.244 GB, free: 6.859 MB / 0.9669 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.0004273/0.3139, allocations: 386.6 kB / 1.244 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.3139, allocations: 8.031 kB / 1.244 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.843e-05/0.314, allocations: 42.69 kB / 1.244 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.982e-05/0.314, allocations: 0.9375 kB / 1.244 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.3141, allocations: 168.4 kB / 1.244 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.3142, allocations: 384 / 1.244 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.3142, allocations: 4.375 kB / 1.244 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.529e-05/0.3143, allocations: 42.19 kB / 1.244 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3143, allocations: 11.92 kB / 1.244 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3143, allocations: 3.984 kB / 1.244 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.3143, allocations: 4 kB / 1.244 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.946e-05/0.3144, allocations: 7.938 kB / 1.244 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/0.3147, allocations: 252.9 kB / 1.245 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.617e-05/0.3148, allocations: 42.44 kB / 1.245 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.225e-05/0.3148, allocations: 16.86 kB / 1.245 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.3148, allocations: 8.078 kB / 1.245 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.315, allocations: 55.41 kB / 1.245 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.315, allocations: 0 / 1.245 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0001879/0.3152, allocations: 73.61 kB / 1.245 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.3152, allocations: 55.41 kB / 1.245 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.282e-05/0.3153, allocations: 106.3 kB / 1.245 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.3153, allocations: 33.7 kB / 1.245 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.3154, allocations: 80.14 kB / 1.245 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.3154, allocations: 15.91 kB / 1.245 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.3155, allocations: 21.7 kB / 1.245 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3156, allocations: 314.8 kB / 1.245 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.157e-05/0.3156, allocations: 8 kB / 1.246 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.106e-05/0.3157, allocations: 43.48 kB / 1.246 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.258e-05/0.3157, allocations: 47.36 kB / 1.246 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3157, allocations: 7.938 kB / 1.246 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001019/0.3159, allocations: 69.58 kB / 1.246 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.3159, allocations: 5.875 kB / 1.246 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.3159, allocations: 4 kB / 1.246 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.3159, allocations: 4.062 kB / 1.246 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.619e-05/0.316, allocations: 15.92 kB / 1.246 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.316, allocations: 0 / 1.246 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.526e-05/0.316, allocations: 8 kB / 1.246 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.316, allocations: 3.938 kB / 1.246 GB, free: 4.664 MB / 0.9669 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.37e-05/0.3161, allocations: 113.8 kB / 1.246 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.3161, allocations: 11.95 kB / 1.246 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/0.3161, allocations: 3.969 kB / 1.246 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.3161, allocations: 0 / 1.246 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.3162, allocations: 4 kB / 1.246 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3162, allocations: 4.078 kB / 1.246 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.3164, allocations: 302.5 kB / 1.246 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.3165, allocations: 3.984 kB / 1.246 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/0.3165, allocations: 7.984 kB / 1.246 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3165, allocations: 3.938 kB / 1.246 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-06/0.3165, allocations: 0 / 1.246 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3165, allocations: 4 kB / 1.246 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3165, allocations: 0 / 1.246 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.3167, allocations: 167.4 kB / 1.246 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/0.3167, allocations: 85.05 kB / 1.246 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.3167, allocations: 0 / 1.246 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.159e-05/0.3168, allocations: 8.125 kB / 1.246 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/0.3168, allocations: 4 kB / 1.246 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.3168, allocations: 0 / 1.246 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.259e-05/0.3169, allocations: 87.27 kB / 1.246 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3169, allocations: 0 / 1.246 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00026/0.3172, allocations: 39.88 kB / 1.247 GB, free: 3.727 MB / 0.9669 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.0007125/0.3179, allocations: 0.766 MB / 1.247 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.903e-05/0.318, allocations: 35.92 kB / 1.247 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.318, allocations: 0 / 1.247 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.781e-05/0.318, allocations: 19.94 kB / 1.247 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.3182, allocations: 3.984 kB / 1.247 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.3193, allocations: 1.295 MB / 1.249 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.3197, allocations: 0.6845 MB / 1.249 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.42e-05/0.3197, allocations: 0 / 1.249 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.3197, allocations: 19.42 kB / 1.249 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.3197, allocations: 0 / 1.249 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03934/0.3591, allocations: 2.109 MB / 1.251 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.648/9.007, allocations: 8.375 kB / 1.251 GB, free: 14.76 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches