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.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.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.001516/0.001516, allocations: 104.8 kB / 15.99 MB, free: 6.348 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.001562/0.001562, allocations: 200 kB / 16.91 MB, free: 6.188 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.428/1.428, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.536/2.536, allocations: 437.1 MB / 0.7107 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 64.34 kB / 0.8694 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2908, allocations: 151.6 MB / 1.017 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002397/0.2933, allocations: 1.278 MB / 1.019 GB, free: 9.727 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008406/0.2941, allocations: 404.3 kB / 1.019 GB, free: 9.332 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.016e-05/0.2941, allocations: 0 / 1.019 GB, free: 9.332 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.067e-05/0.2942, allocations: 0 / 1.019 GB, free: 9.332 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.412e-05/0.2942, allocations: 0 / 1.019 GB, free: 9.332 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.2947, allocations: 87.8 kB / 1.019 GB, free: 9.246 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.998e-05/0.2948, allocations: 12 kB / 1.019 GB, free: 9.234 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.2948, allocations: 3.984 kB / 1.019 GB, free: 9.23 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.375e-05/0.2948, allocations: 11.92 kB / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.654e-05/0.2949, allocations: 11.94 kB / 1.019 GB, free: 9.207 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.819e-06/0.2949, allocations: 4 kB / 1.019 GB, free: 9.203 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.2951, allocations: 95.89 kB / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.2951, allocations: 0 / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.2951, allocations: 7.938 kB / 1.019 GB, free: 9.102 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.2953, allocations: 63.89 kB / 1.019 GB, free: 9.039 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2953, allocations: 0 / 1.019 GB, free: 9.039 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2953, allocations: 0 / 1.019 GB, free: 9.039 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.2953, allocations: 0 / 1.019 GB, free: 9.039 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.0005038/0.2958, allocations: 353.6 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2959, allocations: 12.92 kB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.2959, allocations: 4.938 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.296, allocations: 172.5 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.2961, allocations: 384 / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.2961, allocations: 8.359 kB / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.2962, allocations: 38.25 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.2962, allocations: 192 / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.2962, allocations: 3.938 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2962, allocations: 0 / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.234e-05/0.2963, allocations: 4 kB / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.2964, allocations: 161.6 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.594e-05/0.2965, allocations: 34.55 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.735e-05/0.2966, allocations: 12.8 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.2966, allocations: 4 kB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001252/0.2967, allocations: 59.48 kB / 1.02 GB, free: 8.023 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2967, allocations: 0 / 1.02 GB, free: 8.023 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002003/0.2969, allocations: 77.55 kB / 1.02 GB, free: 7.941 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.297, allocations: 51.41 kB / 1.02 GB, free: 7.879 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.367e-05/0.2971, allocations: 93.86 kB / 1.02 GB, free: 7.777 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.2971, allocations: 29.7 kB / 1.02 GB, free: 7.742 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.2971, allocations: 84.14 kB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.2972, allocations: 7.891 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.2972, allocations: 17.72 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2974, allocations: 322.8 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.068e-05/0.2974, allocations: 7.984 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.273e-05/0.2974, allocations: 31.44 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.914e-05/0.2975, allocations: 51.36 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2975, allocations: 3.938 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001139/0.2977, allocations: 69.91 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2977, allocations: 7.938 kB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.2977, allocations: 48 / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.2977, allocations: 7.984 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.408e-05/0.2978, allocations: 11.94 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.2978, allocations: 7.984 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.339e-05/0.2978, allocations: 0 / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.2978, allocations: 8.094 kB / 1.021 GB, free: 7.066 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 9.168e-05/0.2979, allocations: 110.4 kB / 1.021 GB, free: 6.949 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.298, allocations: 7.938 kB / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.298, allocations: 3.5 kB / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.298, allocations: 0 / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.298, allocations: 0 / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.298, allocations: 0 / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.2982, allocations: 153.7 kB / 1.021 GB, free: 6.734 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2982, allocations: 4 kB / 1.021 GB, free: 6.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.247e-05/0.2982, allocations: 4 kB / 1.021 GB, free: 6.727 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.2982, allocations: 7.922 kB / 1.021 GB, free: 6.719 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.2983, allocations: 0 / 1.021 GB, free: 6.719 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2983, allocations: 3.938 kB / 1.021 GB, free: 6.715 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2983, allocations: 4 kB / 1.021 GB, free: 6.711 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.2984, allocations: 85.03 kB / 1.021 GB, free: 6.609 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.2985, allocations: 85.03 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.2985, allocations: 7.938 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.606e-05/0.2985, allocations: 8 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.2985, allocations: 0 / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.2985, allocations: 3.938 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.08e-05/0.2986, allocations: 83.27 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of sort global known variables: time 9e-08/0.2986, allocations: 0 / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002428/0.2988, allocations: 28 kB / 1.022 GB, free: 6.379 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.0003591/0.2992, allocations: 168.9 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.2993, allocations: 31.92 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2993, allocations: 0 / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.821e-05/0.2994, allocations: 19.92 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.2995, allocations: 0 / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/0.2998, allocations: 134.8 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.3001, allocations: 0.6847 MB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.969e-05/0.3002, allocations: 11.44 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of SimCode: time 6.01e-07/0.3002, allocations: 0 / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of Templates: time 0.003125/0.3033, allocations: 1.155 MB / 1.024 GB, free: 4.129 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=400 -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) Reference file matches