Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.007072/0.007072, allocations: 101.5 kB / 15.73 MB, free: 6.492 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.001365/0.001365, allocations: 195.7 kB / 16.68 MB, free: 6.375 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.54/2.54, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 65.64 kB / 0.9508 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3074, allocations: 140.4 MB / 1.088 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002149/0.3097, allocations: 1.2 MB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008285/0.3105, allocations: 408.4 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.006e-05/0.3105, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.3106, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.585e-05/0.3106, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.3112, allocations: 99.66 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.965e-05/0.3112, allocations: 23.91 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.382e-05/0.3113, allocations: 8 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.032e-05/0.3113, allocations: 11.88 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.3113, allocations: 11.98 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.3114, allocations: 0 / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.3116, allocations: 91.91 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.3116, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.3116, allocations: 11.92 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.3118, allocations: 87.75 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3118, allocations: 4 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3118, allocations: 0 / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3118, allocations: 0 / 1.09 GB, free: 15.58 MB / 0.8575 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.0005612/0.3124, allocations: 343.6 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3125, allocations: 12.03 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.3125, allocations: 0.9375 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.3126, allocations: 168.2 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3127, allocations: 8.375 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.3127, allocations: 384 / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.3128, allocations: 38.25 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3128, allocations: 192 / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.3128, allocations: 11.92 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3128, allocations: 4 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.863e-05/0.3129, allocations: 11.92 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.313, allocations: 161.6 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.212e-05/0.3131, allocations: 26.61 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.998e-05/0.3131, allocations: 12.86 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.3132, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.3133, allocations: 55.5 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3133, allocations: 3.938 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000189/0.3135, allocations: 69.61 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.3136, allocations: 55.41 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.559e-05/0.3137, allocations: 101.8 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.3137, allocations: 25.7 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.3137, allocations: 80.14 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.3138, allocations: 15.91 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.3138, allocations: 21.7 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3139, allocations: 310.8 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.235e-05/0.3139, allocations: 11.98 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.741e-05/0.314, allocations: 31.42 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.124e-05/0.3141, allocations: 47.38 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3141, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.799e-05/0.3142, allocations: 77.45 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.3142, allocations: 11.94 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3142, allocations: 3.938 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3142, allocations: 0 / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.547e-05/0.3143, allocations: 8 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3143, allocations: 4.25 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.612e-05/0.3143, allocations: 4 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3144, allocations: 7.984 kB / 1.091 GB, free: 13.62 MB / 0.8575 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.545e-05/0.3144, allocations: 117.7 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.3144, allocations: 7.922 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.3145, allocations: 7.5 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3145, allocations: 4 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3145, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3145, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.3146, allocations: 153.7 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3146, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.425e-05/0.3147, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.3147, allocations: 12.3 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.3147, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3147, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3147, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.3148, allocations: 93 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.3149, allocations: 81.11 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.3149, allocations: 7.938 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.358e-05/0.3149, allocations: 7.984 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.3149, allocations: 3.938 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-06/0.3149, allocations: 4 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.256e-05/0.315, allocations: 75.28 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.315, allocations: 4 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002515/0.3152, allocations: 31.98 kB / 1.092 GB, free: 12.92 MB / 0.8575 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.0003078/0.3156, allocations: 160.6 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.3157, allocations: 27.92 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3157, allocations: 0 / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.801e-05/0.3157, allocations: 8 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.3159, allocations: 6.188 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002299/0.3161, allocations: 111.1 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.3163, allocations: 0.6806 MB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.183e-05/0.3164, allocations: 3.984 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.795e-05/0.3164, allocations: 11.44 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3164, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of Templates: time 0.003258/0.3197, allocations: 1.004 MB / 1.094 GB, free: 10.87 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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