Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, 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.001137/0.001137, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.815/2.815, allocations: 472.7 MB / 0.7452 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 66.38 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3528, allocations: 159.9 MB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002491/0.3553, allocations: 1.214 MB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009046/0.3562, allocations: 452.7 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.3563, allocations: 0 / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.3563, allocations: 3.938 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.752e-05/0.3564, allocations: 3.984 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005567/0.3569, allocations: 111.6 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.376e-05/0.357, allocations: 27.91 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.69e-05/0.357, allocations: 4 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.42e-05/0.3571, allocations: 8 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.256e-05/0.3571, allocations: 11.92 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.3571, allocations: 0 / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.3574, allocations: 107.8 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.3574, allocations: 4 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.356e-05/0.3574, allocations: 7.938 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.3576, allocations: 95.8 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3576, allocations: 4 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.667e-06/0.3577, allocations: 4 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.3577, allocations: 3.938 kB / 1.07 GB, free: 8.273 MB / 0.8262 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.0005489/0.3582, allocations: 387.4 kB / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3583, allocations: 8.031 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.3583, allocations: 4.938 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.3584, allocations: 172.3 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/0.3585, allocations: 8.359 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.3585, allocations: 4.375 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.3586, allocations: 42.25 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.3586, allocations: 192 / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3586, allocations: 3.938 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3586, allocations: 0 / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.382e-05/0.3587, allocations: 11.98 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.3588, allocations: 153.7 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.315e-05/0.3589, allocations: 30.52 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/0.359, allocations: 12.94 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.359, allocations: 8 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.3591, allocations: 51.41 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.3591, allocations: 0 / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002446/0.3594, allocations: 73.55 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.3594, allocations: 55.39 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.896e-05/0.3595, allocations: 105.8 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.3596, allocations: 25.7 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.016e-05/0.3597, allocations: 96.08 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.3597, allocations: 15.73 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.3597, allocations: 21.72 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.3599, allocations: 314.8 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.097e-05/0.3599, allocations: 7.984 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.755e-05/0.3599, allocations: 31.44 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.634e-05/0.36, allocations: 51.36 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.36, allocations: 0 / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001006/0.3601, allocations: 73.5 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3601, allocations: 7.938 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.3602, allocations: 4 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3602, allocations: 4.094 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.093e-05/0.3603, allocations: 8 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3603, allocations: 3.984 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.215e-05/0.3603, allocations: 0 / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3603, allocations: 4 kB / 1.072 GB, free: 6.254 MB / 0.8262 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 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.933e-05/0.3604, allocations: 116.1 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.3604, allocations: 8.078 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.3605, allocations: 3.906 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.3605, allocations: 7.984 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3605, allocations: 4 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3605, allocations: 0 / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.3606, allocations: 157.7 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3606, allocations: 3.938 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.265e-05/0.3607, allocations: 4 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3607, allocations: 3.938 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.3607, allocations: 256 / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3607, allocations: 4 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3607, allocations: 0 / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.3608, allocations: 93.11 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.3609, allocations: 81.02 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.3609, allocations: 3.938 kB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.17e-05/0.3609, allocations: 0 / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.361, allocations: 7.984 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.361, allocations: 0 / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.671e-05/0.361, allocations: 83.28 kB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.361, allocations: 0 / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002595/0.3613, allocations: 35.98 kB / 1.073 GB, free: 5.547 MB / 0.8262 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,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0003457/0.3616, allocations: 180.7 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.3618, allocations: 23.98 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3618, allocations: 0 / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.062e-05/0.3618, allocations: 15.94 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.362, allocations: 12.17 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.3622, allocations: 108.9 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.3625, allocations: 0.677 MB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.805e-05/0.3625, allocations: 4 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.489e-05/0.3626, allocations: 7.438 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3626, allocations: 0 / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.003452/0.366, allocations: 1.097 MB / 1.075 GB, free: 3.383 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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,t0,time,u,y