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.001222/0.001222, allocations: 98.88 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.001721/0.001721, allocations: 185.5 kB / 16.92 MB, free: 6.703 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.46/1.46, allocations: 223.3 MB / 241 MB, free: 5.359 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.43/2.43, allocations: 390.9 MB / 0.667 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003286, allocations: 8 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6508/0.6512, allocations: 142.4 MB / 0.9557 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.00121/0.6524, allocations: 0.9545 MB / 0.9566 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007997/0.6532, allocations: 446.8 kB / 0.9571 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.16e-05/0.6533, allocations: 1.188 kB / 0.9571 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.6533, allocations: 0 / 0.9571 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.037e-05/0.6534, allocations: 3.938 kB / 0.9571 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.6538, allocations: 93.38 kB / 0.9571 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.764e-05/0.6539, allocations: 20.2 kB / 0.9572 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/0.654, allocations: 6.766 kB / 0.9572 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.507e-05/0.654, allocations: 11.92 kB / 0.9572 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.988e-05/0.654, allocations: 6.656 kB / 0.9572 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.654, allocations: 1.562 kB / 0.9572 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.6543, allocations: 103 kB / 0.9573 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.6543, allocations: 1.156 kB / 0.9573 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.6543, allocations: 41.19 kB / 0.9573 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.6545, allocations: 69.67 kB / 0.9574 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6545, allocations: 4 kB / 0.9574 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.645e-06/0.6545, allocations: 1.344 kB / 0.9574 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.6545, allocations: 0 / 0.9574 GB, free: 6.441 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.0003858/0.6549, allocations: 381 kB / 0.9578 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.6549, allocations: 8.75 kB / 0.9578 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.655, allocations: 2.469 kB / 0.9578 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.155e-05/0.6551, allocations: 170 kB / 0.9579 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.6551, allocations: 10.94 kB / 0.9579 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.6551, allocations: 6.047 kB / 0.958 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.6552, allocations: 39.56 kB / 0.958 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.6553, allocations: 192 / 0.958 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.6553, allocations: 9.25 kB / 0.958 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.6553, allocations: 0 / 0.958 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.105e-05/0.6553, allocations: 3.969 kB / 0.958 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001154/0.6554, allocations: 157.5 kB / 0.9582 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.479e-05/0.6555, allocations: 32.3 kB / 0.9582 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.6556, allocations: 12.48 kB / 0.9582 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.6556, allocations: 4.953 kB / 0.9582 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.6557, allocations: 52.38 kB / 0.9583 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.6557, allocations: 0 / 0.9583 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002025/0.6559, allocations: 79 kB / 0.9583 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.6559, allocations: 52.44 kB / 0.9584 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.33e-05/0.656, allocations: 109.4 kB / 0.9585 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.656, allocations: 34.7 kB / 0.9585 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.655e-05/0.6561, allocations: 81.08 kB / 0.9586 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.6561, allocations: 9.75 kB / 0.9586 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-05/0.6561, allocations: 20.08 kB / 0.9586 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.717e-05/0.6562, allocations: 316.2 kB / 0.9589 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.067e-05/0.6562, allocations: 5.062 kB / 0.9589 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.933e-05/0.6562, allocations: 35.08 kB / 0.959 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.721e-05/0.6563, allocations: 47.03 kB / 0.959 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6563, allocations: 1.844 kB / 0.959 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.556e-05/0.6564, allocations: 67.44 kB / 0.9591 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.6564, allocations: 15.67 kB / 0.9591 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6564, allocations: 1.219 kB / 0.9591 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.6564, allocations: 4.812 kB / 0.9591 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.422e-05/0.6565, allocations: 6.125 kB / 0.9591 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.6565, allocations: 1.594 kB / 0.9591 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.482e-05/0.6565, allocations: 5.375 kB / 0.9591 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-06/0.6566, allocations: 3.062 kB / 0.9591 GB, free: 4.613 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.775e-05/0.6566, allocations: 112.8 kB / 0.9592 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.6566, allocations: 5.344 kB / 0.9592 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.6567, allocations: 13.36 kB / 0.9592 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.6567, allocations: 4 kB / 0.9592 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.6567, allocations: 1.531 kB / 0.9592 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.6567, allocations: 0 / 0.9592 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.38e-05/0.6568, allocations: 161.9 kB / 0.9594 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6568, allocations: 1.312 kB / 0.9594 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.065e-05/0.6568, allocations: 4.938 kB / 0.9594 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.6568, allocations: 5.25 kB / 0.9594 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.6568, allocations: 3.984 kB / 0.9594 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.6568, allocations: 1.188 kB / 0.9594 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6568, allocations: 0 / 0.9594 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.6569, allocations: 83.44 kB / 0.9595 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.657, allocations: 86.19 kB / 0.9596 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.657, allocations: 9.094 kB / 0.9596 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.08e-05/0.657, allocations: 1.344 kB / 0.9596 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.657, allocations: 5.438 kB / 0.9596 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.657, allocations: 1.906 kB / 0.9596 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.514e-05/0.6571, allocations: 82.98 kB / 0.9597 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6571, allocations: 0 / 0.9597 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002462/0.6573, allocations: 40.56 kB / 0.9597 GB, free: 3.969 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.0002943/0.6576, allocations: 161.7 kB / 0.9599 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.663e-05/0.6577, allocations: 25.92 kB / 0.9599 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6577, allocations: 0 / 0.9599 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.014e-05/0.6578, allocations: 21.08 kB / 0.9599 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.6579, allocations: 5.547 kB / 0.9599 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002116/0.6582, allocations: 143.4 kB / 0.96 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.6583, allocations: 0.6802 MB / 0.9607 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.224e-05/0.6583, allocations: 8.781 kB / 0.9607 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of SimCode: time 1.91e-07/0.6583, allocations: 0 / 0.9607 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of Templates: time 0.002903/0.6612, allocations: 1.243 MB / 0.9619 GB, free: 2.34 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches