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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00118/0.00118, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001119/0.001119, allocations: 187.7 kB / 16.13 MB, free: 6.645 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.26/1.26, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.163/2.163, allocations: 390.2 MB / 0.6643 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5847/0.586, allocations: 140.4 MB / 0.949 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.001788/0.5878, allocations: 1.28 MB / 0.9503 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006576/0.5884, allocations: 461.6 kB / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.791e-05/0.5885, allocations: 1.438 kB / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.789e-05/0.5885, allocations: 0 / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.793e-05/0.5885, allocations: 0 / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.5889, allocations: 88.16 kB / 0.9508 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.108e-05/0.5889, allocations: 22.39 kB / 0.9508 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.262e-05/0.589, allocations: 1.125 kB / 0.9508 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.68e-05/0.589, allocations: 8.594 kB / 0.9508 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.258e-05/0.589, allocations: 23.03 kB / 0.9509 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.5891, allocations: 1.375 kB / 0.9509 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.5892, allocations: 106 kB / 0.951 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.5892, allocations: 2.625 kB / 0.951 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.5893, allocations: 11.78 kB / 0.951 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.5894, allocations: 98.98 kB / 0.9511 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5894, allocations: 0 / 0.9511 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.02e-07/0.5894, allocations: 1.375 kB / 0.9511 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.035e-06/0.5894, allocations: 0 / 0.9511 GB, free: 7.551 MB / 0.7169 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.0003128/0.5898, allocations: 385.3 kB / 0.9514 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.5898, allocations: 8.25 kB / 0.9515 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.5898, allocations: 40.03 kB / 0.9515 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.5899, allocations: 7.688 kB / 0.9515 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.928e-05/0.5899, allocations: 173.6 kB / 0.9517 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.5899, allocations: 1.75 kB / 0.9517 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.59, allocations: 3.125 kB / 0.9517 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.423e-05/0.59, allocations: 41.12 kB / 0.9517 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.5901, allocations: 3.938 kB / 0.9517 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.5901, allocations: 0 / 0.9517 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.5901, allocations: 5.312 kB / 0.9517 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.045e-05/0.5901, allocations: 8.109 kB / 0.9517 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002059/0.5903, allocations: 251.9 kB / 0.952 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.496e-05/0.5904, allocations: 42.81 kB / 0.952 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.092e-05/0.5904, allocations: 15.73 kB / 0.952 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.5905, allocations: 1.375 kB / 0.952 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/0.5906, allocations: 65.09 kB / 0.9521 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.5906, allocations: 0 / 0.9521 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001687/0.5907, allocations: 78.48 kB / 0.9522 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.5908, allocations: 52.78 kB / 0.9522 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.51e-05/0.5908, allocations: 100.7 kB / 0.9523 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.5908, allocations: 31.06 kB / 0.9523 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.894e-05/0.5909, allocations: 85.52 kB / 0.9524 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.265e-05/0.5909, allocations: 14.56 kB / 0.9524 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.5909, allocations: 18.56 kB / 0.9525 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.44e-05/0.591, allocations: 320.1 kB / 0.9528 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.591, allocations: 10.3 kB / 0.9528 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.69e-05/0.591, allocations: 35.08 kB / 0.9528 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.601e-05/0.5911, allocations: 54.56 kB / 0.9529 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5911, allocations: 3.938 kB / 0.9529 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.294e-05/0.5912, allocations: 71.86 kB / 0.9529 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.5912, allocations: 4.062 kB / 0.9529 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.5912, allocations: 5.969 kB / 0.9529 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.5912, allocations: 5 kB / 0.9529 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.991e-05/0.5913, allocations: 7.719 kB / 0.9529 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.5913, allocations: 5.703 kB / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.387e-05/0.5913, allocations: 13.78 kB / 0.953 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.5913, allocations: 3.125 kB / 0.953 GB, free: 5.562 MB / 0.7169 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 4.218e-05/0.5914, allocations: 116.9 kB / 0.9531 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.5914, allocations: 0.8125 kB / 0.9531 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.735e-05/0.5914, allocations: 5.062 kB / 0.9531 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.5914, allocations: 1.094 kB / 0.9531 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5914, allocations: 5.062 kB / 0.9531 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.5914, allocations: 0 / 0.9531 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.5916, allocations: 310.6 kB / 0.9534 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5916, allocations: 0 / 0.9534 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.571e-05/0.5916, allocations: 8.156 kB / 0.9534 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.5916, allocations: 0 / 0.9534 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.5916, allocations: 5.328 kB / 0.9534 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.5916, allocations: 0 / 0.9534 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5916, allocations: 0 / 0.9534 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.5917, allocations: 169 kB / 0.9536 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.5918, allocations: 82.67 kB / 0.9536 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.5918, allocations: 3.984 kB / 0.9536 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.9e-05/0.5918, allocations: 1.312 kB / 0.9536 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.486e-05/0.5919, allocations: 1.312 kB / 0.9536 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.5919, allocations: 1.312 kB / 0.9536 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.163e-05/0.5919, allocations: 88.52 kB / 0.9537 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5919, allocations: 0 / 0.9537 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002608/0.5922, allocations: 36.19 kB / 0.9538 GB, free: 4.738 MB / 0.7169 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.0004535/0.5926, allocations: 0.7705 MB / 0.9545 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.441e-05/0.5927, allocations: 31.67 kB / 0.9545 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.5927, allocations: 0 / 0.9545 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.542e-05/0.5928, allocations: 21.89 kB / 0.9546 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.593, allocations: 10.38 kB / 0.9546 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006703/0.5936, allocations: 1.289 MB / 0.9558 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.683e-05/0.5937, allocations: 0.6834 MB / 0.9565 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.665e-05/0.5938, allocations: 2.594 kB / 0.9565 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/0.5938, allocations: 12.72 kB / 0.9565 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5938, allocations: 1.5 kB / 0.9565 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.198/1.792, allocations: 1.937 MB / 0.9584 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/1.792, allocations: 249.3 kB / 0.9587 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/3.937, allocations: 3.938 kB / 0.9587 GB, free: 0.7266 MB / 0.7169 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