Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002221/0.002221, allocations: 110.5 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002464/0.002464, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.786/2.786, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002811/0.002811, allocations: 68.02 kB / 1.056 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.849/0.8518, allocations: 160.7 MB / 1.213 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.003074/0.8549, allocations: 1.233 MB / 1.214 GB, free: 3.023 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.856, allocations: 455.1 kB / 1.215 GB, free: 2.688 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.118e-05/0.8561, allocations: 0 / 1.215 GB, free: 2.688 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.747e-05/0.8561, allocations: 3.938 kB / 1.215 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.15e-05/0.8561, allocations: 5.188 kB / 1.215 GB, free: 2.68 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007172/0.8569, allocations: 109.9 kB / 1.215 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.717e-05/0.8569, allocations: 18.2 kB / 1.215 GB, free: 2.598 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.913e-05/0.857, allocations: 5.438 kB / 1.215 GB, free: 2.594 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.682e-05/0.857, allocations: 16.23 kB / 1.215 GB, free: 2.582 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.111e-05/0.857, allocations: 15.19 kB / 1.215 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.8571, allocations: 1.094 kB / 1.215 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.8573, allocations: 114.6 kB / 1.215 GB, free: 2.508 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.8573, allocations: 4.953 kB / 1.215 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.8574, allocations: 11.16 kB / 1.215 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.8576, allocations: 106.2 kB / 1.215 GB, free: 2.434 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8576, allocations: 0 / 1.215 GB, free: 2.434 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8576, allocations: 0.7188 kB / 1.215 GB, free: 2.434 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.8576, allocations: 0 / 1.215 GB, free: 2.434 MB / 0.92 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.0005283/0.8581, allocations: 390 kB / 1.215 GB, free: 2.012 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.8581, allocations: 9.938 kB / 1.215 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.395e-05/0.8582, allocations: 35.97 kB / 1.215 GB, free: 1.969 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.8582, allocations: 2.906 kB / 1.215 GB, free: 1.969 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.8584, allocations: 170.8 kB / 1.215 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.8584, allocations: 5.5 kB / 1.216 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.8584, allocations: 6.469 kB / 1.216 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.8585, allocations: 41.69 kB / 1.216 GB, free: 1.719 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.8585, allocations: 3.938 kB / 1.216 GB, free: 1.715 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.8585, allocations: 0 / 1.216 GB, free: 1.715 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.8585, allocations: 0.7188 kB / 1.216 GB, free: 1.715 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.417e-05/0.8586, allocations: 12.2 kB / 1.216 GB, free: 1.707 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.8589, allocations: 248.9 kB / 1.216 GB, free: 1.426 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.859, allocations: 36.94 kB / 1.216 GB, free: 1.391 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.692e-05/0.8591, allocations: 11.27 kB / 1.216 GB, free: 1.383 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.8591, allocations: 1.188 kB / 1.216 GB, free: 1.383 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.8593, allocations: 61.17 kB / 1.216 GB, free: 1.32 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.8593, allocations: 4 kB / 1.216 GB, free: 1.316 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002194/0.8595, allocations: 70.06 kB / 1.216 GB, free: 1.27 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.8595, allocations: 53.59 kB / 1.216 GB, free: 1.207 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.925e-05/0.8596, allocations: 109.3 kB / 1.216 GB, free: 1.098 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.8596, allocations: 30.86 kB / 1.216 GB, free: 1.062 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.8597, allocations: 85.28 kB / 1.216 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.8597, allocations: 14.2 kB / 1.216 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.8598, allocations: 18.59 kB / 1.216 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.8599, allocations: 321.4 kB / 1.217 GB, free: 0.625 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/0.8599, allocations: 9.281 kB / 1.217 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.642e-05/0.86, allocations: 39.39 kB / 1.217 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.892e-05/0.86, allocations: 46.5 kB / 1.217 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.86, allocations: 7.938 kB / 1.217 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001206/0.8602, allocations: 82.48 kB / 1.217 GB, free: 476 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.8602, allocations: 8.438 kB / 1.217 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.8602, allocations: 0.9375 kB / 1.217 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.8602, allocations: 5.531 kB / 1.217 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.102e-05/0.8603, allocations: 8.062 kB / 1.217 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.8603, allocations: 1.125 kB / 1.217 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.774e-05/0.8603, allocations: 6.156 kB / 1.217 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.8603, allocations: 2.156 kB / 1.217 GB, free: 468 kB / 0.92 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 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.298e-05/0.8604, allocations: 125 kB / 1.217 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.8604, allocations: 6.328 kB / 1.217 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.8604, allocations: 7.969 kB / 1.217 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.8604, allocations: 1.281 kB / 1.217 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8604, allocations: 3.938 kB / 1.217 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.8604, allocations: 1.25 kB / 1.217 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.8608, allocations: 301.5 kB / 1.217 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.8608, allocations: 1 kB / 1.217 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.932e-05/0.8608, allocations: 7.156 kB / 1.217 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.8608, allocations: 4 kB / 1.217 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.8608, allocations: 1.125 kB / 1.217 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.8608, allocations: 0.875 kB / 1.217 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.8608, allocations: 3.984 kB / 1.217 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.861, allocations: 160.4 kB / 1.217 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.861, allocations: 82.41 kB / 1.217 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.861, allocations: 1.062 kB / 1.217 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.467e-05/0.8611, allocations: 4.734 kB / 1.217 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.8611, allocations: 9.5 kB / 1.217 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.8611, allocations: 6.188 kB / 1.217 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.488e-05/0.8612, allocations: 79.62 kB / 1.218 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8612, allocations: 0 / 1.218 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003073/0.8615, allocations: 44.52 kB / 1.218 GB, free: 15.61 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,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008325/0.8623, allocations: 0.7681 MB / 1.218 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.8624, allocations: 35.41 kB / 1.218 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8624, allocations: 0 / 1.218 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.184e-05/0.8625, allocations: 16.42 kB / 1.218 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.8627, allocations: 2.562 kB / 1.218 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.8639, allocations: 1.306 MB / 1.22 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.8642, allocations: 0.6788 MB / 1.22 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.946e-05/0.8642, allocations: 3.125 kB / 1.22 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.8642, allocations: 9.906 kB / 1.22 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.8642, allocations: 4 kB / 1.22 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.8886, allocations: 2.125 MB / 1.222 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.36/9.249, allocations: 22.17 kB / 1.222 GB, free: 11.69 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.30922793596983]