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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005201/0.005201, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.001316/0.001316, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.53/2.53, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 71.88 kB / 1.054 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.003, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.0022/1.006, allocations: 1.221 MB / 1.209 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009125/1.007, allocations: 446.5 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.879e-05/1.007, allocations: 0 / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/1.007, allocations: 0 / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.855e-05/1.007, allocations: 3.938 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005416/1.007, allocations: 111.6 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.717e-05/1.007, allocations: 27.91 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/1.007, allocations: 4 kB / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.296e-05/1.007, allocations: 7.938 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.201e-05/1.008, allocations: 15.92 kB / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/1.008, allocations: 0 / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/1.008, allocations: 103.8 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/1.008, allocations: 11.94 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/1.008, allocations: 11.92 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/1.008, allocations: 91.81 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.008, allocations: 0 / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.312e-06/1.008, allocations: 0 / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.841e-06/1.008, allocations: 0 / 1.21 GB, free: 11.59 MB / 0.9356 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.0004803/1.009, allocations: 389 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/1.009, allocations: 12.03 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/1.009, allocations: 4.922 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/1.009, allocations: 168.3 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/1.009, allocations: 384 / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/1.009, allocations: 4.375 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/1.009, allocations: 42.19 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/1.009, allocations: 192 / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/1.009, allocations: 3.938 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/1.009, allocations: 7.938 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.262e-05/1.009, allocations: 7.984 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/1.009, allocations: 161.7 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.849e-05/1.009, allocations: 30.61 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.27e-05/1.009, allocations: 12.86 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.771e-06/1.009, allocations: 0 / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/1.009, allocations: 63.42 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/1.009, allocations: 0 / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002116/1.01, allocations: 65.62 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/1.01, allocations: 63.39 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.667e-05/1.01, allocations: 101.9 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/1.01, allocations: 29.7 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/1.01, allocations: 84.12 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/1.01, allocations: 17.64 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/1.01, allocations: 21.72 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.01, allocations: 314.8 kB / 1.211 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.16e-05/1.01, allocations: 11.94 kB / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.505e-05/1.01, allocations: 31.62 kB / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.464e-05/1.01, allocations: 51.34 kB / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.01, allocations: 0 / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.138e-05/1.01, allocations: 65.62 kB / 1.211 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/1.01, allocations: 11.94 kB / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/1.01, allocations: 0 / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/1.01, allocations: 0 / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.292e-05/1.01, allocations: 11.98 kB / 1.211 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/1.01, allocations: 4.094 kB / 1.211 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.653e-05/1.01, allocations: 11.94 kB / 1.211 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/1.01, allocations: 3.938 kB / 1.211 GB, free: 9.57 MB / 0.9356 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 7.782e-05/1.011, allocations: 109.8 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/1.011, allocations: 7.844 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/1.011, allocations: 11.91 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/1.011, allocations: 0 / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/1.011, allocations: 0 / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.011, allocations: 3.984 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/1.011, allocations: 161.6 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.011, allocations: 3.938 kB / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.171e-05/1.011, allocations: 4 kB / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/1.011, allocations: 3.938 kB / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/1.011, allocations: 0 / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.011, allocations: 0 / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.011, allocations: 4 kB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/1.011, allocations: 85.3 kB / 1.212 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/1.011, allocations: 85.02 kB / 1.212 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/1.011, allocations: 11.94 kB / 1.212 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.955e-05/1.011, allocations: 0 / 1.212 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.322e-05/1.011, allocations: 3.984 kB / 1.212 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/1.011, allocations: 4 kB / 1.212 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.243e-05/1.011, allocations: 83.28 kB / 1.212 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.011, allocations: 0 / 1.212 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000239/1.011, allocations: 35.98 kB / 1.212 GB, free: 8.855 MB / 0.9356 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.0003753/1.012, allocations: 162.8 kB / 1.212 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001092/1.012, allocations: 27.92 kB / 1.212 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.012, allocations: 0 / 1.212 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.014e-05/1.012, allocations: 12 kB / 1.212 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/1.012, allocations: 7.984 kB / 1.212 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000234/1.012, allocations: 113.1 kB / 1.212 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/1.013, allocations: 0.6807 MB / 1.213 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.059e-05/1.013, allocations: 4 kB / 1.213 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.013e-05/1.013, allocations: 11.44 kB / 1.213 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of SimCode: time 1.843e-06/1.013, allocations: 0 / 1.213 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of Templates: time 0.003689/1.016, allocations: 1.113 MB / 1.214 GB, free: 6.688 MB / 0.9356 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