Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_10_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.006221/0.006221, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001298/0.001299, allocations: 194.3 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.668/2.668, allocations: 437 MB / 0.7105 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 59.91 kB / 1.018 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.316, allocations: 151.6 MB / 1.166 GB, free: 7.441 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002783/0.3189, allocations: 1.219 MB / 1.167 GB, free: 6.207 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.3199, allocations: 462.7 kB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.391e-05/0.32, allocations: 0 / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.164e-05/0.32, allocations: 7.938 kB / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.051e-05/0.3201, allocations: 4 kB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000655/0.3207, allocations: 103.6 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.6e-05/0.3208, allocations: 19.98 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.713e-05/0.3209, allocations: 0 / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.713e-05/0.3209, allocations: 11.92 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.461e-05/0.321, allocations: 11.98 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.321, allocations: 4 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002688/0.3213, allocations: 103.8 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.3213, allocations: 7.984 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.3214, allocations: 11.92 kB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.3216, allocations: 99.81 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3216, allocations: 0 / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3216, allocations: 0 / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.3216, allocations: 0 / 1.168 GB, free: 5.375 MB / 0.92 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.0006009/0.3222, allocations: 392 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3223, allocations: 11.97 kB / 1.169 GB, free: 4.926 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.582e-05/0.3224, allocations: 30.75 kB / 1.169 GB, free: 4.887 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.3224, allocations: 8.844 kB / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.3225, allocations: 168.9 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.3226, allocations: 4.375 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.3226, allocations: 4.375 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.3227, allocations: 38.25 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3227, allocations: 3.938 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.3228, allocations: 0 / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3228, allocations: 0 / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.364e-05/0.3228, allocations: 15.97 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.3232, allocations: 253.1 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.3233, allocations: 38.45 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.054e-05/0.3233, allocations: 20.94 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.3234, allocations: 0 / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001813/0.3235, allocations: 63.33 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.763e-06/0.3236, allocations: 7.938 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.00022/0.3238, allocations: 73.78 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.3238, allocations: 51.41 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.207e-05/0.3239, allocations: 109.9 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.324, allocations: 25.7 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.324, allocations: 88.14 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.324, allocations: 7.891 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.3241, allocations: 25.72 kB / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3242, allocations: 318.8 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.381e-05/0.3242, allocations: 8 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.928e-05/0.3243, allocations: 35.42 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.164e-05/0.3244, allocations: 47.38 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3244, allocations: 3.938 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000113/0.3245, allocations: 81.45 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3245, allocations: 9.875 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3245, allocations: 0 / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3245, allocations: 0 / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.529e-05/0.3246, allocations: 8 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3246, allocations: 4.156 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.508e-05/0.3247, allocations: 0 / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.3247, allocations: 4 kB / 1.17 GB, free: 3.191 MB / 0.92 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.89e-05/0.3248, allocations: 129.8 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.3248, allocations: 3.906 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.3248, allocations: 7.969 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3248, allocations: 4 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3248, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3248, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.3251, allocations: 306.5 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.3252, allocations: 0 / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.914e-05/0.3252, allocations: 4 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3252, allocations: 96 / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.3252, allocations: 4 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3252, allocations: 7.922 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3252, allocations: 7.922 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.3254, allocations: 163.8 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.3254, allocations: 89.02 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.3255, allocations: 0 / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.383e-05/0.3255, allocations: 3.938 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.3255, allocations: 7.984 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.3256, allocations: 4 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.032e-05/0.3256, allocations: 83.28 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3256, allocations: 0 / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003018/0.3259, allocations: 39.92 kB / 1.171 GB, free: 2.234 MB / 0.92 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.0007517/0.3267, allocations: 0.7648 MB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.3268, allocations: 35.92 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3268, allocations: 0 / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.025e-05/0.3269, allocations: 15.98 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.3271, allocations: 4 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.3283, allocations: 1.288 MB / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.3287, allocations: 0.6807 MB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.091e-05/0.3287, allocations: 0 / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.017e-05/0.3288, allocations: 19.31 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.3288, allocations: 0 / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02544/0.3542, allocations: 2.105 MB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.072/8.426, allocations: 22.25 kB / 1.176 GB, free: 13.27 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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