Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.00752/0.00752, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001913/0.001913, allocations: 189.4 kB / 16.67 MB, free: 5.875 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.545/2.545, allocations: 437 MB / 0.7105 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 59.89 kB / 1.018 GB, free: 9.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8533/0.8546, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002128/0.8568, allocations: 1.235 MB / 1.168 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000827/0.8577, allocations: 452.9 kB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.588e-05/0.8577, allocations: 0 / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.206e-05/0.8577, allocations: 3.938 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.461e-05/0.8578, allocations: 0 / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005067/0.8583, allocations: 123.6 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.269e-05/0.8584, allocations: 15.98 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.8584, allocations: 4 kB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.143e-05/0.8584, allocations: 7.938 kB / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.033e-05/0.8585, allocations: 15.92 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.8585, allocations: 0 / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.8587, allocations: 111.8 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.8587, allocations: 8 kB / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.8588, allocations: 3.938 kB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.859, allocations: 96.3 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.859, allocations: 8 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.553e-06/0.859, allocations: 0 / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.859, allocations: 0 / 1.169 GB, free: 1.816 MB / 0.8887 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.0004766/0.8595, allocations: 396.7 kB / 1.169 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.8595, allocations: 8.625 kB / 1.169 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.8596, allocations: 4.938 kB / 1.169 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.8597, allocations: 164.4 kB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.8597, allocations: 4.375 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.8597, allocations: 384 / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.8598, allocations: 46.25 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.8598, allocations: 192 / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.8599, allocations: 7.875 kB / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.8599, allocations: 0 / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.482e-05/0.8599, allocations: 4 kB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.8601, allocations: 161.7 kB / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.812e-05/0.8602, allocations: 30.52 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.8602, allocations: 16.94 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.8602, allocations: 7.984 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/0.8604, allocations: 51.41 kB / 1.169 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.8604, allocations: 0 / 1.169 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002228/0.8606, allocations: 73.55 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.8606, allocations: 55.41 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.642e-05/0.8607, allocations: 109.8 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.8608, allocations: 29.7 kB / 1.17 GB, free: 472 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.1e-05/0.8608, allocations: 84.14 kB / 1.17 GB, free: 384 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.8608, allocations: 7.953 kB / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.8609, allocations: 25.7 kB / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.861, allocations: 310.8 kB / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.119e-05/0.861, allocations: 11.98 kB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.106e-05/0.8611, allocations: 35.48 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.658e-05/0.8611, allocations: 43.31 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8611, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001268/0.8613, allocations: 73.52 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.8613, allocations: 7.938 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.8613, allocations: 8.094 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.8613, allocations: 0 / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.73e-05/0.8614, allocations: 8 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.8614, allocations: 0 / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.614e-05/0.8614, allocations: 11.88 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.8615, allocations: 7.984 kB / 1.17 GB, free: 15.79 MB / 0.9044 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.055e-05/0.8615, allocations: 109.8 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.8616, allocations: 11.89 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.8616, allocations: 3.906 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.8616, allocations: 8 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.8616, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.8616, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.8617, allocations: 161.6 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.8617, allocations: 0 / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.419e-05/0.8618, allocations: 11.92 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.8618, allocations: 3.938 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.8618, allocations: 0 / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8618, allocations: 0 / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.8618, allocations: 0 / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.8619, allocations: 89.11 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.862, allocations: 81.06 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.862, allocations: 3.938 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.979e-05/0.862, allocations: 0 / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.862, allocations: 4 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.495e-06/0.8621, allocations: 4.266 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.818e-05/0.8621, allocations: 87.53 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8621, allocations: 0 / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002638/0.8624, allocations: 43.86 kB / 1.171 GB, free: 15.07 MB / 0.9044 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.0003301/0.8627, allocations: 164.8 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.8628, allocations: 23.98 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.8628, allocations: 0 / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.886e-05/0.8629, allocations: 16.12 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.863, allocations: 8 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002343/0.8633, allocations: 112.9 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.8635, allocations: 0.6807 MB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.8636, allocations: 0 / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.859e-05/0.8636, allocations: 11.44 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.8636, allocations: 0 / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of Templates: time 0.003327/0.8669, allocations: 1.091 MB / 1.173 GB, free: 12.93 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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