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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001644/0.001644, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001986/0.001987, allocations: 192.4 kB / 16.25 MB, free: 6.633 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.388/1.388, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.802/2.802, allocations: 482.3 MB / 0.7543 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00264/0.00264, allocations: 69.11 kB / 0.9233 GB, free: 29.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3505, allocations: 162.2 MB / 1.082 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002283/0.3528, allocations: 1.296 MB / 1.083 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008278/0.3536, allocations: 442.5 kB / 1.083 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.974e-05/0.3537, allocations: 0 / 1.083 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.3537, allocations: 0 / 1.083 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.294e-05/0.3537, allocations: 4 kB / 1.083 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.3542, allocations: 99.72 kB / 1.084 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.596e-05/0.3543, allocations: 23.92 kB / 1.084 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.3543, allocations: 0 / 1.084 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.125e-05/0.3543, allocations: 7.984 kB / 1.084 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.599e-05/0.3544, allocations: 11.94 kB / 1.084 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.477e-06/0.3544, allocations: 0 / 1.084 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.3546, allocations: 107.8 kB / 1.084 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.3546, allocations: 7.984 kB / 1.084 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.3546, allocations: 11.92 kB / 1.084 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.3548, allocations: 99.81 kB / 1.084 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3548, allocations: 7.984 kB / 1.084 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3548, allocations: 0 / 1.084 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3548, allocations: 0 / 1.084 GB, free: 11.48 MB / 0.8419 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.000526/0.3554, allocations: 389.3 kB / 1.084 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3554, allocations: 8.031 kB / 1.084 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.3555, allocations: 0.9375 kB / 1.084 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.3556, allocations: 172.2 kB / 1.084 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.3556, allocations: 384 / 1.084 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.3556, allocations: 4.375 kB / 1.084 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.3558, allocations: 42.25 kB / 1.084 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3558, allocations: 192 / 1.084 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3558, allocations: 7.922 kB / 1.084 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3558, allocations: 0 / 1.084 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.014e-05/0.3558, allocations: 4 kB / 1.084 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.356, allocations: 153.7 kB / 1.085 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.17e-05/0.3561, allocations: 38.55 kB / 1.085 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.421e-05/0.3561, allocations: 16.86 kB / 1.085 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.3562, allocations: 0 / 1.085 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.3563, allocations: 59.48 kB / 1.085 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3563, allocations: 0 / 1.085 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0001925/0.3565, allocations: 65.62 kB / 1.085 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.3566, allocations: 63.33 kB / 1.085 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.878e-05/0.3567, allocations: 109.7 kB / 1.085 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.3567, allocations: 33.69 kB / 1.085 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.3567, allocations: 80.14 kB / 1.085 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.3568, allocations: 15.84 kB / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.3568, allocations: 17.72 kB / 1.085 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3569, allocations: 318.8 kB / 1.085 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/0.357, allocations: 4 kB / 1.085 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.128e-05/0.357, allocations: 43.41 kB / 1.085 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.138e-05/0.3571, allocations: 47.38 kB / 1.085 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3571, allocations: 0 / 1.085 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.581e-05/0.3572, allocations: 61.8 kB / 1.085 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.3572, allocations: 11.94 kB / 1.085 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3572, allocations: 4.094 kB / 1.085 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.3572, allocations: 3.938 kB / 1.085 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.089e-05/0.3573, allocations: 19.92 kB / 1.085 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3573, allocations: 0 / 1.085 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.3573, allocations: 12.16 kB / 1.086 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.3573, allocations: 0 / 1.086 GB, free: 9.457 MB / 0.8419 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 7.945e-05/0.3574, allocations: 117.8 kB / 1.086 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.3574, allocations: 7.938 kB / 1.086 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.064e-05/0.3575, allocations: 3.906 kB / 1.086 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3575, allocations: 7.984 kB / 1.086 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.3575, allocations: 0 / 1.086 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.3575, allocations: 0 / 1.086 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.3576, allocations: 157.7 kB / 1.086 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3576, allocations: 4 kB / 1.086 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.979e-06/0.3576, allocations: 0 / 1.086 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.3577, allocations: 3.938 kB / 1.086 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3577, allocations: 0 / 1.086 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.3577, allocations: 4 kB / 1.086 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3577, allocations: 0 / 1.086 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.3578, allocations: 89.05 kB / 1.086 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.3579, allocations: 85.02 kB / 1.086 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.3579, allocations: 3.938 kB / 1.086 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.29e-05/0.3579, allocations: 3.984 kB / 1.086 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.3579, allocations: 0 / 1.086 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3579, allocations: 4 kB / 1.086 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.283e-05/0.358, allocations: 83.28 kB / 1.086 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.358, allocations: 0 / 1.086 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002305/0.3582, allocations: 39.98 kB / 1.086 GB, free: 8.754 MB / 0.8419 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.0003163/0.3585, allocations: 166.9 kB / 1.086 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.3587, allocations: 31.92 kB / 1.086 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3587, allocations: 0 / 1.086 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.972e-05/0.3587, allocations: 20.11 kB / 1.086 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.3588, allocations: 5.375 kB / 1.086 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002175/0.3591, allocations: 113.1 kB / 1.086 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.3594, allocations: 0.6768 MB / 1.087 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.015e-05/0.3594, allocations: 4 kB / 1.087 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.339e-05/0.3594, allocations: 7.438 kB / 1.087 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3594, allocations: 0 / 1.087 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of Templates: time 0.003546/0.363, allocations: 1.097 MB / 1.088 GB, free: 6.594 MB / 0.8419 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=400 -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