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.001032/0.001032, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009982/0.0009983, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.211/1.211, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.091/2.091, allocations: 390.2 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 59.91 kB / 0.8126 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4745/0.4757, allocations: 140.4 MB / 0.9497 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.001811/0.4775, allocations: 1.226 MB / 0.9509 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006223/0.4781, allocations: 445 kB / 0.9513 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.09e-05/0.4782, allocations: 0 / 0.9513 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.269e-05/0.4782, allocations: 0 / 0.9513 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.229e-05/0.4782, allocations: 5.25 kB / 0.9513 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.4787, allocations: 114.6 kB / 0.9514 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.483e-05/0.4787, allocations: 16.67 kB / 0.9515 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.775e-05/0.4788, allocations: 3.25 kB / 0.9515 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.828e-05/0.4788, allocations: 11.97 kB / 0.9515 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.418e-05/0.4788, allocations: 10.05 kB / 0.9515 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.4788, allocations: 2 kB / 0.9515 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.479, allocations: 116.1 kB / 0.9516 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.479, allocations: 2.562 kB / 0.9516 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.479, allocations: 10.72 kB / 0.9516 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.4792, allocations: 99.11 kB / 0.9517 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.4792, allocations: 1.219 kB / 0.9517 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4792, allocations: 0 / 0.9517 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.4792, allocations: 0 / 0.9517 GB, free: 7.633 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.0003146/0.4795, allocations: 385.5 kB / 0.9521 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.4796, allocations: 8.594 kB / 0.9521 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.4796, allocations: 43.97 kB / 0.9521 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.4796, allocations: 7.422 kB / 0.9521 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.607e-05/0.4797, allocations: 169.8 kB / 0.9523 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.4797, allocations: 2.625 kB / 0.9523 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.4797, allocations: 1.875 kB / 0.9523 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.142e-05/0.4798, allocations: 41.09 kB / 0.9523 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.4798, allocations: 3.938 kB / 0.9523 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.4799, allocations: 5.234 kB / 0.9523 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.4799, allocations: 7.875 kB / 0.9524 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.809e-05/0.4799, allocations: 8.906 kB / 0.9524 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/0.4801, allocations: 251.5 kB / 0.9526 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.938e-05/0.4802, allocations: 39.19 kB / 0.9526 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/0.4802, allocations: 15.95 kB / 0.9527 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.395e-06/0.4802, allocations: 1.438 kB / 0.9527 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/0.4803, allocations: 61.58 kB / 0.9527 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.4804, allocations: 0 / 0.9527 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001647/0.4805, allocations: 77.52 kB / 0.9528 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.941e-05/0.4805, allocations: 52.84 kB / 0.9528 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.264e-05/0.4806, allocations: 105.3 kB / 0.9529 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.863e-06/0.4806, allocations: 26.7 kB / 0.953 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.769e-05/0.4806, allocations: 85.27 kB / 0.953 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.185e-05/0.4806, allocations: 13.97 kB / 0.9531 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.4807, allocations: 19.88 kB / 0.9531 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.178e-05/0.4807, allocations: 319.7 kB / 0.9534 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.4807, allocations: 5.5 kB / 0.9534 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.695e-05/0.4808, allocations: 35.52 kB / 0.9534 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.643e-05/0.4808, allocations: 50.38 kB / 0.9535 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4808, allocations: 3.938 kB / 0.9535 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.361e-05/0.4809, allocations: 83.92 kB / 0.9536 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.4809, allocations: 6.125 kB / 0.9536 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.4809, allocations: 1.344 kB / 0.9536 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.481, allocations: 1.188 kB / 0.9536 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.885e-05/0.481, allocations: 12.33 kB / 0.9536 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.481, allocations: 1.094 kB / 0.9536 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.397e-05/0.481, allocations: 14.12 kB / 0.9536 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.4811, allocations: 6.375 kB / 0.9536 GB, free: 5.645 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.139e-05/0.4811, allocations: 117.7 kB / 0.9537 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.4811, allocations: 1.469 kB / 0.9537 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.685e-05/0.4811, allocations: 9.281 kB / 0.9537 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.4811, allocations: 0 / 0.9537 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.4812, allocations: 0 / 0.9537 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.4812, allocations: 0.9062 kB / 0.9537 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.4813, allocations: 310.2 kB / 0.954 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4813, allocations: 1.062 kB / 0.954 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.472e-05/0.4814, allocations: 6.188 kB / 0.954 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4814, allocations: 1.156 kB / 0.954 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.4814, allocations: 9.078 kB / 0.954 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4814, allocations: 0 / 0.954 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4814, allocations: 1.125 kB / 0.954 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.4815, allocations: 167.4 kB / 0.9542 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.4815, allocations: 86.41 kB / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.4815, allocations: 1.156 kB / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.682e-05/0.4816, allocations: 1.219 kB / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.4816, allocations: 1.25 kB / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.4816, allocations: 2.344 kB / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.011e-05/0.4816, allocations: 87.23 kB / 0.9544 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4816, allocations: 0 / 0.9544 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002508/0.4819, allocations: 32.66 kB / 0.9544 GB, free: 4.82 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.0004361/0.4823, allocations: 0.7827 MB / 0.9552 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.466e-05/0.4824, allocations: 36.92 kB / 0.9552 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.4824, allocations: 0 / 0.9552 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.394e-05/0.4825, allocations: 18.16 kB / 0.9552 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.4827, allocations: 4.484 kB / 0.9552 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006624/0.4833, allocations: 1.283 MB / 0.9565 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.686e-05/0.4834, allocations: 0.6872 MB / 0.9571 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.656e-05/0.4835, allocations: 2.219 kB / 0.9571 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.4835, allocations: 17.53 kB / 0.9572 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.4835, allocations: 0 / 0.9572 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.67/2.154, allocations: 2.063 MB / 0.9592 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/13.99, allocations: 9.672 kB / 0.9592 GB, free: 0.9258 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