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 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.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.0009296/0.0009297, allocations: 98.03 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.006007/0.006007, allocations: 169.1 kB / 16.26 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.373/1.373, 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.65/2.65, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003127, allocations: 6.062 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2971, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.001356/0.2985, allocations: 0.9548 MB / 1.06 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008729/0.2994, allocations: 442.8 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.103e-05/0.2994, allocations: 0 / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.795e-05/0.2995, allocations: 3.938 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.232e-05/0.2995, allocations: 4 kB / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.3001, allocations: 91.72 kB / 1.06 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.152e-05/0.3001, allocations: 27.86 kB / 1.06 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.3002, allocations: 4 kB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.253e-05/0.3002, allocations: 7.984 kB / 1.06 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.97e-05/0.3002, allocations: 11.92 kB / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.3003, allocations: 4 kB / 1.06 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.3005, allocations: 95.89 kB / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.3005, allocations: 4 kB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.637e-05/0.3005, allocations: 41.62 kB / 1.06 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.3007, allocations: 95.75 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3007, allocations: 0 / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.315e-06/0.3008, allocations: 4 kB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.227e-06/0.3008, allocations: 0 / 1.06 GB, free: 3.098 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.0004419/0.3012, allocations: 377.5 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3013, allocations: 15.97 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.051e-05/0.3013, allocations: 38.66 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.3014, allocations: 4.938 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.3015, allocations: 168.4 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.3015, allocations: 384 / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.3015, allocations: 4.375 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.3016, allocations: 46.25 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3016, allocations: 7.875 kB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.3016, allocations: 0 / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3017, allocations: 0 / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.512e-05/0.3017, allocations: 11.97 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.302, allocations: 248.9 kB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.3022, allocations: 42.5 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/0.3022, allocations: 12.86 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.3022, allocations: 0 / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.3024, allocations: 67.42 kB / 1.061 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.3024, allocations: 0 / 1.061 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0002092/0.3026, allocations: 65.69 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.3027, allocations: 63.39 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.977e-05/0.3028, allocations: 101.9 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.3028, allocations: 29.69 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.303, allocations: 88.12 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.303, allocations: 15.75 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.303, allocations: 21.66 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.16e-05/0.3031, allocations: 314.8 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.3031, allocations: 12 kB / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.737e-05/0.3032, allocations: 39.42 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.674e-05/0.3032, allocations: 43.38 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3033, allocations: 7.875 kB / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001025/0.3034, allocations: 73.61 kB / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.3034, allocations: 4 kB / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3034, allocations: 4.062 kB / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3034, allocations: 4 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.624e-05/0.3035, allocations: 11.94 kB / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3035, allocations: 8.078 kB / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.54e-05/0.3035, allocations: 3.906 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.3035, allocations: 4 kB / 1.062 GB, free: 0.9102 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.408e-05/0.3036, allocations: 125.8 kB / 1.062 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.3036, allocations: 0 / 1.062 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.3037, allocations: 15.97 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3037, allocations: 0 / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3037, allocations: 0 / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.3037, allocations: 0 / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.304, allocations: 303 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.304, allocations: 64 / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.876e-05/0.304, allocations: 8 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.304, allocations: 0 / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.3041, allocations: 96 / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3041, allocations: 0 / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3041, allocations: 11.98 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.3042, allocations: 167.4 kB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-05/0.3043, allocations: 81.05 kB / 1.063 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.3043, allocations: 0 / 1.063 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.122e-05/0.3044, allocations: 3.984 kB / 1.063 GB, free: 112 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.3044, allocations: 4 kB / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.3044, allocations: 0 / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.922e-05/0.3045, allocations: 87.28 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3045, allocations: 7.938 kB / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003039/0.3048, allocations: 43.97 kB / 1.063 GB, free: 15.96 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.0006342/0.3054, allocations: 0.7662 MB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.3055, allocations: 43.86 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3056, allocations: 0 / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.917e-05/0.3056, allocations: 19.98 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.3058, allocations: 0 / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.3069, allocations: 1.283 MB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.3072, allocations: 0.6809 MB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.896e-05/0.3073, allocations: 3.984 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.3073, allocations: 15.44 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3073, allocations: 0 / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01133/0.3186, allocations: 1.857 MB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/0.3188, allocations: 252.1 kB / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/2.018, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8262 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=50 --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