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.001746/0.001746, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.002015/0.002015, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.664/2.664, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 59.91 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7934/0.7948, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002519/0.7973, allocations: 1.227 MB / 1.21 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009636/0.7983, allocations: 442.5 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.298e-05/0.7984, allocations: 0 / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.365e-05/0.7984, allocations: 3.938 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.141e-05/0.7985, allocations: 3.984 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006493/0.7992, allocations: 123.5 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.146e-05/0.7993, allocations: 19.92 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.7993, allocations: 4 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.533e-05/0.7993, allocations: 11.92 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.365e-05/0.7994, allocations: 11.94 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.7994, allocations: 0 / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.7997, allocations: 103.9 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.7997, allocations: 4 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.7997, allocations: 11.92 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.7999, allocations: 103.8 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.8, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.8, allocations: 7.984 kB / 1.21 GB, free: 11.55 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.000555/0.8005, allocations: 381 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.8006, allocations: 8.031 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.8006, allocations: 4.938 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.8008, allocations: 164.3 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.8008, allocations: 4.375 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.8008, allocations: 4.375 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.8009, allocations: 38.25 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.8009, allocations: 8.172 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.801, allocations: 7.875 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.801, allocations: 3.984 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.225e-05/0.801, allocations: 7.938 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.8012, allocations: 153.7 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.152e-05/0.8013, allocations: 30.61 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.321e-05/0.8013, allocations: 16.86 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-06/0.8013, allocations: 0 / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.8015, allocations: 59.48 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 2.715e-06/0.8015, allocations: 0 / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002073/0.8017, allocations: 69.56 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.8018, allocations: 55.39 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.847e-05/0.8019, allocations: 109.9 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.8019, allocations: 25.7 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.8019, allocations: 92.12 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.802, allocations: 9.641 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.802, allocations: 17.72 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.8021, allocations: 322.8 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.035e-05/0.8022, allocations: 4 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.025e-05/0.8022, allocations: 39.42 kB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.977e-05/0.8023, allocations: 43.38 kB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.8023, allocations: 0 / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000114/0.8024, allocations: 73.5 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.8024, allocations: 12.03 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.8024, allocations: 4 kB / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.8025, allocations: 0 / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.804e-05/0.8025, allocations: 7.984 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.8026, allocations: 4 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.431e-05/0.8026, allocations: 0 / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.8026, allocations: 4 kB / 1.212 GB, free: 9.547 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 8.127e-05/0.8027, allocations: 118 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.8027, allocations: 7.844 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.8027, allocations: 7.906 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.8027, allocations: 4 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.8028, allocations: 7.984 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.8028, allocations: 0 / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.8029, allocations: 165.5 kB / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.8029, allocations: 0 / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.309e-05/0.8029, allocations: 0 / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.8029, allocations: 8.172 kB / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.8029, allocations: 0 / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.8029, allocations: 0 / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.803, allocations: 0 / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.8031, allocations: 93.09 kB / 1.212 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.8032, allocations: 81.02 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.8032, allocations: 3.938 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.307e-05/0.8032, allocations: 3.984 kB / 1.213 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.8032, allocations: 11.94 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.8033, allocations: 0 / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.734e-05/0.8033, allocations: 79.28 kB / 1.213 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8033, allocations: 4 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000276/0.8036, allocations: 35.98 kB / 1.213 GB, free: 8.82 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.0003384/0.8039, allocations: 157.9 kB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.8041, allocations: 31.92 kB / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8041, allocations: 0 / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.297e-05/0.8041, allocations: 20.17 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.8043, allocations: 1.562 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002539/0.8045, allocations: 143.8 kB / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.8048, allocations: 0.6807 MB / 1.214 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.568e-05/0.8048, allocations: 7.438 kB / 1.214 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.8048, allocations: 0 / 1.214 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of Templates: time 0.003068/0.8079, allocations: 1.253 MB / 1.215 GB, free: 6.484 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches