Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000869/0.000869, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001078, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.341/1.341, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 390.9 MB / 0.667 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003454, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6741/0.6744, allocations: 142.4 MB / 0.9557 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.00119/0.6757, allocations: 0.9589 MB / 0.9566 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008744/0.6766, allocations: 443.1 kB / 0.9571 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.212e-05/0.6766, allocations: 0 / 0.9571 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.685e-05/0.6766, allocations: 1.25 kB / 0.9571 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.033e-05/0.6767, allocations: 7.922 kB / 0.9571 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.6771, allocations: 89 kB / 0.9572 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.96e-05/0.6772, allocations: 17.11 kB / 0.9572 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.698e-05/0.6773, allocations: 5.062 kB / 0.9572 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.125e-05/0.6773, allocations: 8.688 kB / 0.9572 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.984e-05/0.6773, allocations: 14.77 kB / 0.9572 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.6773, allocations: 6.281 kB / 0.9572 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/0.6775, allocations: 93.91 kB / 0.9573 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.6776, allocations: 14 kB / 0.9573 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.6776, allocations: 33.17 kB / 0.9573 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.6777, allocations: 69.77 kB / 0.9574 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.6777, allocations: 0 / 0.9574 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6778, allocations: 3.938 kB / 0.9574 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.6778, allocations: 0 / 0.9574 GB, free: 6.477 MB / 0.7169 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.0003659/0.6781, allocations: 377.9 kB / 0.9578 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.6782, allocations: 12.66 kB / 0.9578 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.6782, allocations: 3.188 kB / 0.9578 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.98e-05/0.6783, allocations: 178.4 kB / 0.958 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.6783, allocations: 1.406 kB / 0.958 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.6783, allocations: 2.594 kB / 0.958 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.862e-05/0.6784, allocations: 39.72 kB / 0.958 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.6785, allocations: 192 / 0.958 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.6785, allocations: 3.938 kB / 0.958 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.6785, allocations: 0.9688 kB / 0.958 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.047e-05/0.6785, allocations: 7.578 kB / 0.958 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.6786, allocations: 162.5 kB / 0.9582 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.999e-05/0.6787, allocations: 30.36 kB / 0.9582 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.6788, allocations: 18.44 kB / 0.9582 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.6788, allocations: 1.188 kB / 0.9582 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.6789, allocations: 59.64 kB / 0.9583 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.6789, allocations: 0 / 0.9583 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001961/0.6791, allocations: 75.17 kB / 0.9583 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.6792, allocations: 53.72 kB / 0.9584 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.939e-05/0.6792, allocations: 108 kB / 0.9585 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.6792, allocations: 27.11 kB / 0.9585 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/0.6793, allocations: 84.14 kB / 0.9586 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.6793, allocations: 10.83 kB / 0.9586 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.116e-05/0.6793, allocations: 15.16 kB / 0.9586 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.861e-05/0.6794, allocations: 316 kB / 0.9589 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.069e-05/0.6794, allocations: 9.672 kB / 0.9589 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.915e-05/0.6794, allocations: 29.81 kB / 0.959 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.286e-05/0.6795, allocations: 52.52 kB / 0.959 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6795, allocations: 0 / 0.959 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.775e-05/0.6796, allocations: 65.66 kB / 0.9591 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.6796, allocations: 9.25 kB / 0.9591 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.6796, allocations: 1.125 kB / 0.9591 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.6797, allocations: 1.25 kB / 0.9591 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.55e-05/0.6797, allocations: 10.34 kB / 0.9591 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.6797, allocations: 1.125 kB / 0.9591 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.579e-05/0.6798, allocations: 10.03 kB / 0.9591 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.6798, allocations: 10.48 kB / 0.9591 GB, free: 4.645 MB / 0.7169 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 5.652e-05/0.6798, allocations: 113.4 kB / 0.9592 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.6799, allocations: 5.031 kB / 0.9592 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.128e-05/0.6799, allocations: 5.094 kB / 0.9592 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.6799, allocations: 5.031 kB / 0.9592 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6799, allocations: 4 kB / 0.9592 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.6799, allocations: 0 / 0.9592 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.772e-05/0.68, allocations: 158.9 kB / 0.9594 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.68, allocations: 3.984 kB / 0.9594 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.146e-05/0.68, allocations: 6.531 kB / 0.9594 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.68, allocations: 7.875 kB / 0.9594 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.68, allocations: 1.375 kB / 0.9594 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.68, allocations: 0 / 0.9594 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.68, allocations: 1.438 kB / 0.9594 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.6802, allocations: 86.34 kB / 0.9595 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.6802, allocations: 82.27 kB / 0.9596 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.6802, allocations: 5.078 kB / 0.9596 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.058e-05/0.6802, allocations: 9.016 kB / 0.9596 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.105e-05/0.6803, allocations: 0.9688 kB / 0.9596 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.6803, allocations: 6.047 kB / 0.9596 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.463e-05/0.6803, allocations: 83.5 kB / 0.9597 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6803, allocations: 0 / 0.9597 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002464/0.6806, allocations: 36.7 kB / 0.9597 GB, free: 4.004 MB / 0.7169 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.0003053/0.6809, allocations: 157.5 kB / 0.9599 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.178e-05/0.681, allocations: 31.08 kB / 0.9599 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.681, allocations: 0 / 0.9599 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.379e-05/0.681, allocations: 19.69 kB / 0.9599 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.6812, allocations: 8.109 kB / 0.9599 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002151/0.6814, allocations: 140 kB / 0.96 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.23e-05/0.6815, allocations: 0.6813 MB / 0.9607 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.254e-05/0.6815, allocations: 10.53 kB / 0.9607 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6815, allocations: 0 / 0.9607 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of Templates: time 0.002797/0.6843, allocations: 1.241 MB / 0.9619 GB, free: 2.375 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches