Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.005206/0.005206, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.001147/0.001147, allocations: 193.5 kB / 16.67 MB, free: 5.961 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: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.607/2.607, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 67.88 kB / 1.054 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9961/0.9979, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.003454/1.001, allocations: 1.222 MB / 1.209 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001283/1.003, allocations: 438.5 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.858e-05/1.003, allocations: 4 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.575e-05/1.003, allocations: 0 / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.545e-05/1.003, allocations: 3.938 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009015/1.004, allocations: 115.6 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/1.004, allocations: 19.98 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.073e-05/1.004, allocations: 0 / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.613e-05/1.004, allocations: 19.94 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.434e-05/1.004, allocations: 11.91 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/1.004, allocations: 4 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003769/1.005, allocations: 107.8 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/1.005, allocations: 3.938 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.628e-05/1.005, allocations: 15.92 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003113/1.005, allocations: 91.81 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.005, allocations: 0 / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.134e-06/1.005, allocations: 0 / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.229e-05/1.005, allocations: 0 / 1.21 GB, free: 11.59 MB / 0.9356 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.0007001/1.006, allocations: 389 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/1.006, allocations: 8.031 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/1.006, allocations: 4.922 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/1.006, allocations: 172.2 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/1.006, allocations: 4.375 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/1.006, allocations: 4.375 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/1.006, allocations: 34.25 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/1.006, allocations: 4.125 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/1.006, allocations: 3.938 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/1.006, allocations: 4 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.594e-05/1.006, allocations: 7.984 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/1.007, allocations: 157.7 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.817e-05/1.007, allocations: 38.55 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.71e-05/1.007, allocations: 8.859 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/1.007, allocations: 0 / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000247/1.007, allocations: 59.48 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 2.224e-06/1.007, allocations: 0 / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0003939/1.008, allocations: 73.56 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/1.008, allocations: 55.39 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/1.008, allocations: 109.9 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/1.008, allocations: 25.7 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/1.008, allocations: 88.12 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/1.008, allocations: 17.64 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/1.008, allocations: 17.72 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002395/1.008, allocations: 318.8 kB / 1.211 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.469e-05/1.008, allocations: 8 kB / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.185e-05/1.008, allocations: 35.41 kB / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.123e-05/1.008, allocations: 51.38 kB / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.008, allocations: 0 / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001142/1.008, allocations: 69.8 kB / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/1.009, allocations: 9.656 kB / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/1.009, allocations: 0 / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/1.009, allocations: 4 kB / 1.211 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.65e-05/1.009, allocations: 11.92 kB / 1.211 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/1.009, allocations: 8.094 kB / 1.211 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.906e-05/1.009, allocations: 0 / 1.211 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/1.009, allocations: 7.938 kB / 1.211 GB, free: 9.562 MB / 0.9356 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.186e-05/1.009, allocations: 109.8 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/1.009, allocations: 11.84 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.799e-05/1.009, allocations: 3.906 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/1.009, allocations: 0 / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/1.009, allocations: 0 / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/1.009, allocations: 7.922 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/1.009, allocations: 165.6 kB / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.009, allocations: 0 / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.418e-05/1.009, allocations: 0 / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/1.009, allocations: 3.938 kB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/1.009, allocations: 4 kB / 1.212 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/1.009, allocations: 0 / 1.212 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/1.009, allocations: 3.938 kB / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/1.009, allocations: 81.11 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/1.009, allocations: 85.02 kB / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/1.009, allocations: 11.94 kB / 1.212 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.293e-05/1.009, allocations: 0 / 1.212 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/1.009, allocations: 4.234 kB / 1.212 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/1.009, allocations: 4 kB / 1.212 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.393e-05/1.01, allocations: 83.28 kB / 1.212 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.01, allocations: 0 / 1.212 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002994/1.01, allocations: 35.98 kB / 1.212 GB, free: 8.852 MB / 0.9356 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.0004336/1.01, allocations: 167.2 kB / 1.212 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001334/1.01, allocations: 31.92 kB / 1.212 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.01, allocations: 0 / 1.212 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.872e-05/1.01, allocations: 11.94 kB / 1.212 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/1.011, allocations: 7.984 kB / 1.212 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/1.011, allocations: 114.4 kB / 1.212 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/1.011, allocations: 0.6846 MB / 1.213 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.814e-05/1.011, allocations: 0 / 1.213 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/1.011, allocations: 11.44 kB / 1.213 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of SimCode: time 2.545e-06/1.011, allocations: 0 / 1.213 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of Templates: time 0.004293/1.016, allocations: 1.105 MB / 1.214 GB, free: 6.68 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches