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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001482/0.001482, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00197/0.00197, allocations: 191.8 kB / 16.25 MB, free: 6.637 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.483/1.483, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.519/2.519, allocations: 390.2 MB / 0.6643 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 59.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8149/0.8162, allocations: 140.4 MB / 0.9491 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002527/0.8188, allocations: 1.284 MB / 0.9503 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007509/0.8195, allocations: 441.4 kB / 0.9508 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.267e-05/0.8196, allocations: 4 kB / 0.9508 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.8196, allocations: 1.25 kB / 0.9508 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.558e-05/0.8197, allocations: 3.938 kB / 0.9508 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.8201, allocations: 102.4 kB / 0.9509 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.233e-05/0.8202, allocations: 14.05 kB / 0.9509 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.8203, allocations: 2.75 kB / 0.9509 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.586e-05/0.8203, allocations: 19.83 kB / 0.9509 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.776e-05/0.8203, allocations: 6.672 kB / 0.9509 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.8203, allocations: 5.188 kB / 0.9509 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.8205, allocations: 108.3 kB / 0.951 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.8206, allocations: 2.125 kB / 0.951 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.522e-05/0.8206, allocations: 11.94 kB / 0.951 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.8208, allocations: 99.11 kB / 0.9511 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.8208, allocations: 1.312 kB / 0.9511 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8208, allocations: 0 / 0.9511 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.8208, allocations: 0 / 0.9511 GB, free: 7.645 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.0004451/0.8213, allocations: 384.3 kB / 0.9515 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.8213, allocations: 9.5 kB / 0.9515 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.8213, allocations: 11.34 kB / 0.9515 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.449e-05/0.8214, allocations: 169.6 kB / 0.9517 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.8215, allocations: 1.531 kB / 0.9517 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.8215, allocations: 2.719 kB / 0.9517 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.836e-05/0.8216, allocations: 36.22 kB / 0.9517 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.8216, allocations: 192 / 0.9517 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.8216, allocations: 11.94 kB / 0.9517 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.8216, allocations: 0.7812 kB / 0.9517 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.226e-05/0.8217, allocations: 12.36 kB / 0.9517 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.8218, allocations: 162.4 kB / 0.9519 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.615e-05/0.8219, allocations: 30.17 kB / 0.9519 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.8219, allocations: 14.19 kB / 0.9519 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-06/0.8219, allocations: 0 / 0.9519 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.8221, allocations: 53.22 kB / 0.952 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.8221, allocations: 0 / 0.952 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002032/0.8223, allocations: 81.92 kB / 0.9521 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.8223, allocations: 52.78 kB / 0.9521 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.613e-05/0.8224, allocations: 106.2 kB / 0.9522 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.8224, allocations: 29.7 kB / 0.9522 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.977e-05/0.8224, allocations: 81.64 kB / 0.9523 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.8224, allocations: 9.188 kB / 0.9523 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.8225, allocations: 27.31 kB / 0.9524 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.976e-05/0.8225, allocations: 312.2 kB / 0.9527 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.8226, allocations: 20.39 kB / 0.9527 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.528e-05/0.8226, allocations: 27.28 kB / 0.9527 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.251e-05/0.8226, allocations: 47.58 kB / 0.9527 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.8226, allocations: 5.594 kB / 0.9528 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.051e-05/0.8227, allocations: 68 kB / 0.9528 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.8228, allocations: 10.06 kB / 0.9528 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.8228, allocations: 0 / 0.9528 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.8228, allocations: 2 kB / 0.9528 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.115e-05/0.8229, allocations: 6.375 kB / 0.9528 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.8229, allocations: 1.844 kB / 0.9528 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.574e-05/0.8229, allocations: 4.969 kB / 0.9528 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.8229, allocations: 11.14 kB / 0.9529 GB, free: 5.805 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.435e-05/0.823, allocations: 112 kB / 0.953 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.823, allocations: 6.188 kB / 0.953 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.261e-05/0.823, allocations: 9.094 kB / 0.953 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.823, allocations: 0 / 0.953 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.823, allocations: 5.031 kB / 0.953 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.8231, allocations: 0 / 0.953 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.41e-05/0.8231, allocations: 154.3 kB / 0.9531 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.8232, allocations: 5.078 kB / 0.9531 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.1e-05/0.8232, allocations: 1.438 kB / 0.9531 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/0.8232, allocations: 9.156 kB / 0.9531 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.8232, allocations: 7.938 kB / 0.9531 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.8232, allocations: 1.844 kB / 0.9532 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.8232, allocations: 4 kB / 0.9532 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.8233, allocations: 90.48 kB / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.8233, allocations: 79.36 kB / 0.9533 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.8234, allocations: 3.938 kB / 0.9533 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.156e-05/0.8234, allocations: 1.188 kB / 0.9533 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.8234, allocations: 5.219 kB / 0.9533 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.8234, allocations: 5.297 kB / 0.9533 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.729e-05/0.8235, allocations: 84.25 kB / 0.9534 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.062e-06/0.8235, allocations: 0 / 0.9534 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002751/0.8237, allocations: 39.42 kB / 0.9535 GB, free: 5.16 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.0003399/0.8241, allocations: 163.9 kB / 0.9536 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.8242, allocations: 30.27 kB / 0.9536 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8242, allocations: 0 / 0.9536 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.652e-05/0.8243, allocations: 12.81 kB / 0.9536 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.8244, allocations: 1.281 kB / 0.9536 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002342/0.8247, allocations: 120.3 kB / 0.9538 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.8248, allocations: 0.6864 MB / 0.9544 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.157e-05/0.8248, allocations: 2.375 kB / 0.9544 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.383e-05/0.8248, allocations: 8.875 kB / 0.9544 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8248, allocations: 0 / 0.9544 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of Templates: time 0.003405/0.8282, allocations: 1.102 MB / 0.9555 GB, free: 3.609 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