Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001345/0.001345, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.554/1.554, allocations: 222.9 MB / 239.9 MB, free: 4.574 MB / 190.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.802/2.802, allocations: 437 MB / 0.7101 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 59.91 kB / 0.8687 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8093/0.8116, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002608/0.8143, allocations: 1.299 MB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008966/0.8152, allocations: 442.6 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.8152, allocations: 0 / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.8153, allocations: 3.938 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.489e-05/0.8153, allocations: 0 / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005388/0.8159, allocations: 99.78 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.682e-05/0.8159, allocations: 15.92 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.951e-05/0.816, allocations: 7.938 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.466e-05/0.816, allocations: 11.98 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.719e-05/0.816, allocations: 3.938 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.8161, allocations: 8 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.8163, allocations: 107.8 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.8163, allocations: 3.984 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.8164, allocations: 15.92 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.8166, allocations: 99.75 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.8166, allocations: 0 / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.033e-06/0.8166, allocations: 0 / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.8166, allocations: 0 / 1.019 GB, free: 0.6953 MB / 0.7637 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.0005566/0.8171, allocations: 395 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.8172, allocations: 16.02 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.8172, allocations: 8.922 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.8174, allocations: 164.3 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.8174, allocations: 384 / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.8174, allocations: 4.375 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.8176, allocations: 38.25 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.8176, allocations: 192 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.8176, allocations: 7.938 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.8176, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.805e-05/0.8177, allocations: 11.92 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/0.8178, allocations: 157.7 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.857e-05/0.8179, allocations: 30.61 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.818, allocations: 8.859 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.818, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.8182, allocations: 63.33 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.8182, allocations: 8 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002216/0.8184, allocations: 65.62 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.8185, allocations: 55.39 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.906e-05/0.8186, allocations: 105.9 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.8186, allocations: 29.7 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.8187, allocations: 84.12 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.8187, allocations: 11.91 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.8187, allocations: 17.72 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.8189, allocations: 322.8 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.8189, allocations: 8 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.415e-05/0.819, allocations: 35.36 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.528e-05/0.819, allocations: 43.44 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.819, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000111/0.8192, allocations: 73.47 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.8192, allocations: 7.938 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.8192, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.8192, allocations: 4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.192e-05/0.8193, allocations: 7.984 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.8193, allocations: 4 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.492e-05/0.8193, allocations: 12.11 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.8193, allocations: 4.094 kB / 1.021 GB, free: 14.67 MB / 0.7794 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.301e-05/0.8194, allocations: 113.8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.8194, allocations: 7.938 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.8195, allocations: 11.89 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.8195, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.8195, allocations: 3.984 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.8195, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.8196, allocations: 165.5 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.8196, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-05/0.8197, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.8197, allocations: 7.938 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.8197, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8197, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.8197, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.8199, allocations: 81.11 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.8199, allocations: 81.11 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.8199, allocations: 3.938 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.428e-05/0.82, allocations: 3.984 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.82, allocations: 11.94 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.82, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.253e-05/0.8201, allocations: 87.53 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8201, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00024/0.8203, allocations: 31.98 kB / 1.021 GB, free: 13.96 MB / 0.7794 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.0003618/0.8207, allocations: 163.8 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.8208, allocations: 31.92 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.8208, allocations: 0 / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.882e-05/0.8209, allocations: 19.92 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.821, allocations: 1.922 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.8213, allocations: 121 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.8216, allocations: 0.6848 MB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.796e-05/0.8216, allocations: 0 / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.827e-05/0.8216, allocations: 11.44 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.8216, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of Templates: time 0.003752/0.8254, allocations: 1.097 MB / 1.023 GB, free: 11.79 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches