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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001075/0.001075, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008099/0.008099, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.362/1.362, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.528/2.528, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002921/0.0002922, allocations: 8 kB / 0.8729 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5151/0.5154, allocations: 153.8 MB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.00129/0.5167, allocations: 0.9527 MB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008259/0.5176, allocations: 446.8 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.249e-05/0.5176, allocations: 3.938 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.495e-05/0.5177, allocations: 0 / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.179e-05/0.5177, allocations: 0 / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.5181, allocations: 83.78 kB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.211e-05/0.5182, allocations: 27.86 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.5182, allocations: 0 / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.265e-05/0.5183, allocations: 11.98 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.683e-05/0.5183, allocations: 7.938 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.5183, allocations: 4 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.5185, allocations: 107.8 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.5186, allocations: 4 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.5186, allocations: 37.62 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.5188, allocations: 103.8 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5188, allocations: 7.938 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5188, allocations: 0 / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.5188, allocations: 0 / 1.025 GB, free: 14 MB / 0.7794 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.0004097/0.5192, allocations: 375.4 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.5193, allocations: 12.03 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.353e-05/0.5193, allocations: 34.75 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.5194, allocations: 8.828 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.823e-05/0.5195, allocations: 168.3 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.5195, allocations: 384 / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.5195, allocations: 8.375 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.182e-05/0.5196, allocations: 38.19 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.5196, allocations: 3.938 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.5197, allocations: 7.984 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.5197, allocations: 4 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.924e-05/0.5197, allocations: 4 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.52, allocations: 245 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.189e-05/0.5201, allocations: 42.44 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.5202, allocations: 16.86 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.5202, allocations: 4 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/0.5203, allocations: 63.39 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.5203, allocations: 0 / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001958/0.5205, allocations: 81.61 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.5206, allocations: 51.41 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.456e-05/0.5206, allocations: 105.8 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.5207, allocations: 25.7 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.5207, allocations: 88.14 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.5207, allocations: 11.81 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.5208, allocations: 13.72 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.706e-05/0.5209, allocations: 322.8 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.5209, allocations: 4 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.976e-05/0.5209, allocations: 35.42 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.899e-05/0.521, allocations: 55.36 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.521, allocations: 3.938 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.657e-05/0.5211, allocations: 69.61 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.5211, allocations: 8 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.5211, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.5211, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.906e-05/0.5212, allocations: 11.94 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.5212, allocations: 8 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.705e-05/0.5212, allocations: 19.83 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.5213, allocations: 4 kB / 1.027 GB, free: 11.82 MB / 0.7794 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.391e-05/0.5214, allocations: 114.2 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/0.5214, allocations: 8 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.877e-05/0.5214, allocations: 3.969 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.5214, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5214, allocations: 4 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.5214, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.5217, allocations: 310.5 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5217, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.692e-05/0.5217, allocations: 4 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.5217, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.5218, allocations: 3.984 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5218, allocations: 0 / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5218, allocations: 0.5625 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.5219, allocations: 171.3 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.522, allocations: 85.11 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.522, allocations: 3.984 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.805e-05/0.522, allocations: 4 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.949e-05/0.5221, allocations: 4 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-06/0.5221, allocations: 0 / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.914e-05/0.5221, allocations: 83.27 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5221, allocations: 0 / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002628/0.5224, allocations: 35.94 kB / 1.028 GB, free: 10.9 MB / 0.7794 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.0006224/0.523, allocations: 0.7706 MB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.463e-05/0.5231, allocations: 31.92 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5231, allocations: 4.062 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.679e-05/0.5232, allocations: 23.92 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.5234, allocations: 7.938 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.5244, allocations: 1.284 MB / 1.03 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.5247, allocations: 0.6809 MB / 1.03 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.795e-05/0.5247, allocations: 3.984 kB / 1.03 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.5247, allocations: 15.44 kB / 1.03 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.5247, allocations: 0 / 1.03 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.131/1.656, allocations: 1.865 MB / 1.032 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/1.656, allocations: 247.4 kB / 1.032 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/3.618, allocations: 0 / 1.032 GB, free: 5.945 MB / 0.7794 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