Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.Weibull1DON,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",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.004157/0.004157, allocations: 97.73 kB / 15.73 MB, free: 6.055 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.001182/0.001182, allocations: 201.1 kB / 16.68 MB, free: 5.98 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.831/2.831, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 64.3 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3121, allocations: 162.3 MB / 1.242 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002348/0.3145, allocations: 1.241 MB / 1.243 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008531/0.3153, allocations: 438.5 kB / 1.243 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.465e-05/0.3154, allocations: 4 kB / 1.243 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.416e-05/0.3154, allocations: 0 / 1.243 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.422e-05/0.3155, allocations: 3.938 kB / 1.243 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.3159, allocations: 111.6 kB / 1.244 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.836e-05/0.316, allocations: 19.88 kB / 1.244 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.316, allocations: 7.984 kB / 1.244 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.837e-05/0.3161, allocations: 4 kB / 1.244 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.443e-05/0.3161, allocations: 19.91 kB / 1.244 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.3161, allocations: 0 / 1.244 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.3163, allocations: 107.8 kB / 1.244 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.3164, allocations: 4 kB / 1.244 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.3164, allocations: 7.938 kB / 1.244 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.3166, allocations: 99.73 kB / 1.244 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.3166, allocations: 0 / 1.244 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3166, allocations: 0 / 1.244 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.3166, allocations: 4 kB / 1.244 GB, free: 7.773 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.0004791/0.3171, allocations: 392.7 kB / 1.244 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.3171, allocations: 8.031 kB / 1.244 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.22e-05/0.3172, allocations: 42.7 kB / 1.244 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.202e-05/0.3172, allocations: 0.9375 kB / 1.244 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.3173, allocations: 172.3 kB / 1.244 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.3174, allocations: 384 / 1.244 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.3174, allocations: 8.375 kB / 1.244 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.984e-05/0.3175, allocations: 34.25 kB / 1.244 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3175, allocations: 3.938 kB / 1.244 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.3175, allocations: 0 / 1.244 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3175, allocations: 4 kB / 1.244 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.194e-05/0.3176, allocations: 11.98 kB / 1.244 GB, free: 7 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.3179, allocations: 244.9 kB / 1.245 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.609e-05/0.318, allocations: 42.44 kB / 1.245 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.883e-05/0.318, allocations: 16.86 kB / 1.245 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-06/0.3181, allocations: 0 / 1.245 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.3182, allocations: 63.48 kB / 1.245 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.3182, allocations: 0 / 1.245 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0002021/0.3184, allocations: 73.62 kB / 1.245 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.3185, allocations: 59.39 kB / 1.245 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.591e-05/0.3186, allocations: 102.1 kB / 1.245 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.3186, allocations: 29.7 kB / 1.245 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.3186, allocations: 88.12 kB / 1.245 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.3187, allocations: 15.84 kB / 1.245 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.3187, allocations: 25.72 kB / 1.245 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3188, allocations: 314.8 kB / 1.246 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.77e-05/0.3189, allocations: 15.98 kB / 1.246 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.098e-05/0.3189, allocations: 35.42 kB / 1.246 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.787e-05/0.319, allocations: 51.36 kB / 1.246 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.319, allocations: 3.938 kB / 1.246 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000107/0.3191, allocations: 81.5 kB / 1.246 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.3191, allocations: 4 kB / 1.246 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3191, allocations: 0 / 1.246 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.3192, allocations: 4 kB / 1.246 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.193e-05/0.3192, allocations: 8 kB / 1.246 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3192, allocations: 3.938 kB / 1.246 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.3193, allocations: 4 kB / 1.246 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.3193, allocations: 12.05 kB / 1.246 GB, free: 5.57 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.214e-05/0.3194, allocations: 117.7 kB / 1.246 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.3194, allocations: 3.953 kB / 1.246 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.417e-05/0.3194, allocations: 11.97 kB / 1.246 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.3194, allocations: 0 / 1.246 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3194, allocations: 0 / 1.246 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.3194, allocations: 3.938 kB / 1.246 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.3197, allocations: 298.6 kB / 1.246 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3197, allocations: 0 / 1.246 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.668e-05/0.3198, allocations: 8 kB / 1.246 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.3198, allocations: 0 / 1.246 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.3198, allocations: 0 / 1.246 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3198, allocations: 3.984 kB / 1.246 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3198, allocations: 4 kB / 1.246 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.32, allocations: 163.4 kB / 1.246 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.32, allocations: 81.44 kB / 1.246 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.32, allocations: 3.984 kB / 1.246 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.104e-05/0.3201, allocations: 12 kB / 1.246 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.3201, allocations: 0 / 1.246 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.3201, allocations: 0 / 1.246 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.881e-05/0.3202, allocations: 91.27 kB / 1.246 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3202, allocations: 0 / 1.246 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002709/0.3205, allocations: 39.81 kB / 1.247 GB, free: 4.641 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.0007334/0.3212, allocations: 0.7705 MB / 1.247 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.3213, allocations: 31.98 kB / 1.247 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3213, allocations: 3.938 kB / 1.247 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.98e-05/0.3214, allocations: 23.92 kB / 1.247 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.3216, allocations: 128 / 1.247 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.3227, allocations: 1.3 MB / 1.249 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.323, allocations: 0.6807 MB / 1.249 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.576e-05/0.3231, allocations: 0 / 1.249 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.55e-05/0.3231, allocations: 19.44 kB / 1.249 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.3231, allocations: 0 / 1.249 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5458/0.8689, allocations: 2.095 MB / 1.251 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.141/9.01, allocations: 10.3 kB / 1.251 GB, free: 14.19 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:L,dt,k,seed,time,u,x,y