Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.001189/0.001189, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00152/0.00152, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 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: 223.3 MB / 240 MB, free: 5.414 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.495/2.495, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 8 kB / 0.8153 GB, free: 13.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7702/0.7705, allocations: 142.4 MB / 0.9544 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.001186/0.7718, allocations: 0.9404 MB / 0.9553 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007036/0.7725, allocations: 418.9 kB / 0.9557 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.7725, allocations: 0 / 0.9557 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.7725, allocations: 3.938 kB / 0.9557 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.463e-05/0.7726, allocations: 0.9688 kB / 0.9557 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.773, allocations: 84.84 kB / 0.9558 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.384e-05/0.7731, allocations: 20.27 kB / 0.9558 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.903e-05/0.7732, allocations: 5.219 kB / 0.9559 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.14e-05/0.7732, allocations: 8.266 kB / 0.9559 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.996e-05/0.7732, allocations: 10.38 kB / 0.9559 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.7732, allocations: 2.25 kB / 0.9559 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.7734, allocations: 97.55 kB / 0.956 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.7734, allocations: 5.328 kB / 0.956 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.73e-05/0.7735, allocations: 29.11 kB / 0.956 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.7736, allocations: 80.8 kB / 0.9561 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.7736, allocations: 0 / 0.9561 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7736, allocations: 0 / 0.9561 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.646e-06/0.7736, allocations: 1.031 kB / 0.9561 GB, free: 6.395 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.0003525/0.774, allocations: 378.6 kB / 0.9564 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.7741, allocations: 9.094 kB / 0.9564 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.7741, allocations: 5.391 kB / 0.9565 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.7742, allocations: 181.4 kB / 0.9566 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.7742, allocations: 1.062 kB / 0.9566 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.7743, allocations: 2.469 kB / 0.9566 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.7744, allocations: 38.09 kB / 0.9567 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.7744, allocations: 1 kB / 0.9567 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.7744, allocations: 4 kB / 0.9567 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.7744, allocations: 5.188 kB / 0.9567 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.207e-05/0.7744, allocations: 11.62 kB / 0.9567 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.7746, allocations: 153.8 kB / 0.9568 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.768e-05/0.7747, allocations: 34.91 kB / 0.9569 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.9e-05/0.7747, allocations: 14.11 kB / 0.9569 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.627e-06/0.7747, allocations: 0 / 0.9569 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.7749, allocations: 57.16 kB / 0.9569 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.7749, allocations: 0 / 0.9569 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000201/0.7751, allocations: 69.77 kB / 0.957 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.7751, allocations: 52.34 kB / 0.957 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.598e-05/0.7752, allocations: 109.5 kB / 0.9572 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.7752, allocations: 27.27 kB / 0.9572 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.688e-05/0.7752, allocations: 96.06 kB / 0.9573 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.7753, allocations: 14.64 kB / 0.9573 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.7753, allocations: 0 / 0.9573 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.939e-05/0.7753, allocations: 316.3 kB / 0.9576 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/0.7754, allocations: 4.125 kB / 0.9576 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.122e-05/0.7754, allocations: 34.52 kB / 0.9576 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.667e-05/0.7754, allocations: 13.97 kB / 0.9576 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7754, allocations: 1.281 kB / 0.9576 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.008e-05/0.7755, allocations: 67.47 kB / 0.9577 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.7755, allocations: 10.64 kB / 0.9577 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.7756, allocations: 0 / 0.9577 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.7756, allocations: 2.125 kB / 0.9577 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.474e-05/0.7756, allocations: 5.938 kB / 0.9577 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.7756, allocations: 1.344 kB / 0.9577 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.328e-05/0.7757, allocations: 3.031 kB / 0.9577 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.7757, allocations: 10.36 kB / 0.9577 GB, free: 4.625 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.708e-05/0.7758, allocations: 116.1 kB / 0.9578 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.7758, allocations: 9.062 kB / 0.9579 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.292e-05/0.7758, allocations: 9.531 kB / 0.9579 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.7758, allocations: 1.062 kB / 0.9579 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.7758, allocations: 3.984 kB / 0.9579 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.7758, allocations: 0 / 0.9579 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.551e-05/0.7759, allocations: 162.9 kB / 0.958 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.7759, allocations: 0 / 0.958 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.103e-05/0.7759, allocations: 7 kB / 0.958 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.7759, allocations: 0 / 0.958 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.776, allocations: 1.406 kB / 0.958 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.776, allocations: 3.984 kB / 0.958 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.776, allocations: 0 / 0.958 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.7761, allocations: 83.92 kB / 0.9581 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.7761, allocations: 81.02 kB / 0.9582 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.7761, allocations: 6.016 kB / 0.9582 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.128e-05/0.7762, allocations: 8.25 kB / 0.9582 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.246e-05/0.7762, allocations: 5.062 kB / 0.9582 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.7762, allocations: 5.906 kB / 0.9582 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.154e-05/0.7762, allocations: 83.45 kB / 0.9583 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7763, allocations: 3.938 kB / 0.9583 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002693/0.7765, allocations: 32.44 kB / 0.9583 GB, free: 3.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003099/0.7768, allocations: 161.6 kB / 0.9585 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.777, allocations: 36.27 kB / 0.9585 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.777, allocations: 1.625 kB / 0.9585 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.219e-05/0.777, allocations: 11.7 kB / 0.9585 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.7771, allocations: 9.203 kB / 0.9585 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002594/0.7774, allocations: 120 kB / 0.9587 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.7775, allocations: 0.6785 MB / 0.9593 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.987e-05/0.7776, allocations: 2.094 kB / 0.9593 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.331e-05/0.7776, allocations: 9.719 kB / 0.9593 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7776, allocations: 0 / 0.9593 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of Templates: time 0.003297/0.7809, allocations: 1.062 MB / 0.9604 GB, free: 2.445 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches