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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008159/0.0008158, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008374/0.0008374, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.934/2.934, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003858, allocations: 11.38 kB / 0.9021 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3838, allocations: 159.6 MB / 1.058 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.001329/0.3852, allocations: 0.9432 MB / 1.059 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008096/0.386, allocations: 419 kB / 1.059 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.108e-05/0.3861, allocations: 0 / 1.059 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.427e-05/0.3861, allocations: 3.938 kB / 1.059 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.877e-05/0.3861, allocations: 0 / 1.059 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.3866, allocations: 83.73 kB / 1.059 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.772e-05/0.3866, allocations: 23.91 kB / 1.059 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.3867, allocations: 4 kB / 1.059 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.135e-05/0.3867, allocations: 7.984 kB / 1.059 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.853e-05/0.3867, allocations: 15.94 kB / 1.059 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.3868, allocations: 0 / 1.059 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.387, allocations: 99.83 kB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.387, allocations: 0 / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.387, allocations: 33.7 kB / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.3872, allocations: 67.88 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3872, allocations: 0 / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3872, allocations: 0 / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.3872, allocations: 0 / 1.06 GB, free: 3.613 MB / 0.8106 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.0004376/0.3876, allocations: 381.2 kB / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3877, allocations: 8.031 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.3877, allocations: 3.906 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.3878, allocations: 171 kB / 1.06 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.3878, allocations: 3.984 kB / 1.06 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.3879, allocations: 11.95 kB / 1.06 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.388, allocations: 33.69 kB / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.388, allocations: 3.938 kB / 1.06 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.388, allocations: 0 / 1.06 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.388, allocations: 4 kB / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.819e-05/0.3881, allocations: 8 kB / 1.06 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.3882, allocations: 161.7 kB / 1.06 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.96e-05/0.3883, allocations: 34.45 kB / 1.06 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.237e-05/0.3883, allocations: 16.94 kB / 1.06 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.3884, allocations: 3.953 kB / 1.06 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.3885, allocations: 55.41 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.3885, allocations: 0 / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002024/0.3887, allocations: 73.52 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.3888, allocations: 55.41 kB / 1.061 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.017e-05/0.3889, allocations: 101.8 kB / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.3889, allocations: 29.7 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.3889, allocations: 84.14 kB / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.3889, allocations: 7.844 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.389, allocations: 4 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.3891, allocations: 322.8 kB / 1.061 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.756e-05/0.3891, allocations: 4 kB / 1.061 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-05/0.3891, allocations: 35.42 kB / 1.061 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.812e-05/0.3892, allocations: 8 kB / 1.061 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3892, allocations: 4 kB / 1.061 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.731e-05/0.3893, allocations: 73.52 kB / 1.061 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.3893, allocations: 8 kB / 1.061 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3893, allocations: 0 / 1.061 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.3893, allocations: 0 / 1.061 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.502e-05/0.3894, allocations: 11.98 kB / 1.061 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3894, allocations: 0 / 1.061 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.54e-05/0.3894, allocations: 7.906 kB / 1.061 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3894, allocations: 0 / 1.061 GB, free: 1.68 MB / 0.8106 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.172e-05/0.3895, allocations: 121.9 kB / 1.061 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-06/0.3895, allocations: 3.953 kB / 1.061 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.531e-05/0.3896, allocations: 7.906 kB / 1.061 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3896, allocations: 4.219 kB / 1.061 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3896, allocations: 0 / 1.061 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3896, allocations: 3.938 kB / 1.061 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.3897, allocations: 161.6 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3897, allocations: 0 / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.229e-05/0.3897, allocations: 4 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.3897, allocations: 0 / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.3898, allocations: 7.953 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3898, allocations: 0 / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3898, allocations: 0 / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.3899, allocations: 97.02 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.3899, allocations: 77.11 kB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.39, allocations: 0 / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.25e-05/0.39, allocations: 12.19 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.39, allocations: 7.875 kB / 1.062 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.39, allocations: 8 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.56e-05/0.3901, allocations: 83.28 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3901, allocations: 0 / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002334/0.3903, allocations: 35.98 kB / 1.062 GB, free: 0.957 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003626/0.3907, allocations: 160.3 kB / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.841e-05/0.3908, allocations: 31.92 kB / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3908, allocations: 0 / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.311e-05/0.3908, allocations: 11.98 kB / 1.062 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.391, allocations: 4 kB / 1.062 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002543/0.3912, allocations: 128.5 kB / 1.062 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.3915, allocations: 0.677 MB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.97e-05/0.3915, allocations: 8.188 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.489e-05/0.3915, allocations: 7.438 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.3915, allocations: 0 / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of Templates: time 0.003421/0.395, allocations: 1.058 MB / 1.064 GB, free: 14.83 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