Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_9_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.007705/0.007705, allocations: 102.7 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.001925/0.001925, allocations: 198.5 kB / 16.67 MB, free: 5.973 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.438/2.438, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 62.16 kB / 0.9504 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3171, allocations: 140.4 MB / 1.087 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002779/0.3199, allocations: 1.225 MB / 1.089 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.321, allocations: 448.3 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.321, allocations: 3.938 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.3211, allocations: 0 / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.218e-05/0.3211, allocations: 3.938 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007106/0.3218, allocations: 115.6 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.106e-05/0.3219, allocations: 23.86 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.868e-05/0.322, allocations: 4 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.479e-05/0.322, allocations: 7.984 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.18e-05/0.3221, allocations: 11.92 kB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.3221, allocations: 8 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.3224, allocations: 99.89 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.422e-05/0.3224, allocations: 4 kB / 1.089 GB, free: 100 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.3224, allocations: 11.88 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.3227, allocations: 99.88 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3227, allocations: 0 / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3227, allocations: 0 / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.3228, allocations: 4 kB / 1.089 GB, free: 15.98 MB / 0.8575 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.0006482/0.3234, allocations: 387.9 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.3235, allocations: 12.03 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.167e-05/0.3235, allocations: 34.73 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.3236, allocations: 4.938 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.3237, allocations: 168.9 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.3237, allocations: 4.375 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.3238, allocations: 384 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.3239, allocations: 42.19 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3239, allocations: 3.938 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.3239, allocations: 7.984 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3239, allocations: 4 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.676e-05/0.324, allocations: 8 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.3244, allocations: 241.2 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.3245, allocations: 38.5 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.1e-05/0.3245, allocations: 16.86 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.3245, allocations: 3.938 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.3247, allocations: 63.48 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.3247, allocations: 0 / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002279/0.325, allocations: 73.67 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.325, allocations: 51.41 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.416e-05/0.3251, allocations: 113.9 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.3251, allocations: 37.64 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.3252, allocations: 80.14 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.3252, allocations: 11.91 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.3253, allocations: 25.7 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3254, allocations: 310.8 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.782e-05/0.3254, allocations: 12.25 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.122e-05/0.3255, allocations: 35.42 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.657e-05/0.3255, allocations: 55.36 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3256, allocations: 7.875 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001086/0.3257, allocations: 77.52 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3257, allocations: 4 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3257, allocations: 3.938 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.3257, allocations: 4 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.638e-05/0.3258, allocations: 15.92 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3258, allocations: 0 / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.882e-05/0.3258, allocations: 12.06 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.3258, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 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.631e-05/0.3259, allocations: 113.8 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.3259, allocations: 3.906 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.914e-05/0.326, allocations: 11.97 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.326, allocations: 0 / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.326, allocations: 0 / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.326, allocations: 0 / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.3263, allocations: 310.4 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3263, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-05/0.3264, allocations: 4 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.3264, allocations: 3.984 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.3264, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3264, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3264, allocations: 4 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.3266, allocations: 159.5 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.3266, allocations: 85 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.3266, allocations: 4 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.027e-05/0.3267, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.3267, allocations: 8.125 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.3267, allocations: 7.938 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.317e-05/0.3268, allocations: 87.27 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3268, allocations: 0 / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003021/0.3271, allocations: 35.94 kB / 1.092 GB, free: 12.86 MB / 0.8575 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.0007572/0.3279, allocations: 0.7759 MB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.328, allocations: 31.92 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.328, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.133e-05/0.3281, allocations: 16.12 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.3283, allocations: 4 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.3294, allocations: 1.289 MB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.3297, allocations: 0.6807 MB / 1.095 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.295e-05/0.3297, allocations: 8 kB / 1.095 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.3298, allocations: 15.42 kB / 1.095 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3298, allocations: 0 / 1.095 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.3512, allocations: 2.103 MB / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.014/8.365, allocations: 13.95 kB / 1.097 GB, free: 7.895 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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