Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 114.6 kB / 16.37 MB, free: 6.012 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.001914/0.001914, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.527/2.527, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 64.11 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3045, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002549/0.3071, allocations: 1.213 MB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007688/0.3079, allocations: 404.3 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.12e-05/0.3079, allocations: 0 / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.963e-05/0.308, allocations: 3.938 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.245e-05/0.308, allocations: 0 / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.3085, allocations: 103.6 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.873e-05/0.3086, allocations: 19.92 kB / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.3087, allocations: 0 / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.598e-05/0.3087, allocations: 8 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.977e-05/0.3087, allocations: 11.92 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.3088, allocations: 0 / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.309, allocations: 95.84 kB / 1.021 GB, free: 7.977 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.309, allocations: 7.969 kB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.309, allocations: 8 kB / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.3092, allocations: 75.83 kB / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.3093, allocations: 8 kB / 1.021 GB, free: 7.879 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.517e-06/0.3093, allocations: 0 / 1.021 GB, free: 7.879 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.3093, allocations: 0 / 1.021 GB, free: 7.879 MB / 0.795 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.0005136/0.3098, allocations: 351.4 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3098, allocations: 12.62 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.3099, allocations: 0.9375 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.31, allocations: 172.2 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.3101, allocations: 384 / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.3101, allocations: 4.375 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.3102, allocations: 50.22 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.3102, allocations: 192 / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.3102, allocations: 3.938 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3102, allocations: 4 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.215e-05/0.3102, allocations: 0 / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.3104, allocations: 161.6 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.949e-05/0.3105, allocations: 34.55 kB / 1.021 GB, free: 6.949 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.079e-05/0.3105, allocations: 16.86 kB / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.3105, allocations: 0 / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.3107, allocations: 55.48 kB / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.3107, allocations: 0 / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.00018/0.3108, allocations: 69.56 kB / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.3109, allocations: 55.39 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.3e-05/0.311, allocations: 97.86 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.311, allocations: 33.7 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.311, allocations: 84.14 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.3111, allocations: 3.906 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.3111, allocations: 25.7 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3112, allocations: 314.8 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.3113, allocations: 7.984 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-05/0.3113, allocations: 35.44 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.82e-05/0.3114, allocations: 43.38 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3114, allocations: 0 / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000107/0.3115, allocations: 73.52 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3115, allocations: 7.938 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.3115, allocations: 8.094 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.3115, allocations: 0 / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.779e-05/0.3116, allocations: 11.94 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3116, allocations: 0 / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.506e-05/0.3117, allocations: 4.359 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3117, allocations: 4 kB / 1.022 GB, free: 5.918 MB / 0.795 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 8.424e-05/0.3118, allocations: 118.9 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.3118, allocations: 3.938 kB / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.3118, allocations: 3.5 kB / 1.022 GB, free: 5.781 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3118, allocations: 7.984 kB / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3118, allocations: 4 kB / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3118, allocations: 4 kB / 1.022 GB, free: 5.766 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.312, allocations: 153.7 kB / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.312, allocations: 0 / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.277e-05/0.312, allocations: 3.938 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.312, allocations: 3.938 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.312, allocations: 7.984 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.312, allocations: 0 / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.312, allocations: 3.938 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.3122, allocations: 85.03 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.3122, allocations: 85.03 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.3122, allocations: 7.938 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.971e-05/0.3122, allocations: 0 / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.3123, allocations: 4 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.3123, allocations: 4 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.246e-05/0.3123, allocations: 75.28 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3123, allocations: 0 / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002414/0.3126, allocations: 35.98 kB / 1.023 GB, free: 5.219 MB / 0.795 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.0003352/0.3129, allocations: 151.9 kB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001007/0.313, allocations: 32.11 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.313, allocations: 0 / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.891e-05/0.3131, allocations: 12.28 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.3132, allocations: 15.95 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002121/0.3135, allocations: 105 kB / 1.023 GB, free: 4.891 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.3137, allocations: 0.6768 MB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.058e-05/0.3137, allocations: 3.938 kB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.859e-05/0.3138, allocations: 11.44 kB / 1.024 GB, free: 4.172 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3138, allocations: 0 / 1.024 GB, free: 4.172 MB / 0.795 GB Notification: Performance of Templates: time 0.003155/0.3169, allocations: 1.011 MB / 1.025 GB, free: 3.16 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:lambda,seed,t0,time,y