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.01031/0.01031, allocations: 103.1 kB / 15.73 MB, free: 6.043 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.002064/0.002064, allocations: 188.4 kB / 16.67 MB, free: 5.961 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.292/2.292, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 55.91 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9051/0.9063, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002513/0.9089, allocations: 1.222 MB / 1.089 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009432/0.9099, allocations: 455.5 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.981e-05/0.9099, allocations: 1.094 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/0.9099, allocations: 3.938 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.202e-05/0.91, allocations: 4.609 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005741/0.9106, allocations: 112.6 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.193e-05/0.9107, allocations: 21.56 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.117e-05/0.9107, allocations: 2.953 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.929e-05/0.9108, allocations: 6.516 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.504e-05/0.9108, allocations: 12.97 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.9108, allocations: 5.094 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.9111, allocations: 99.67 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.9111, allocations: 12.22 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.9112, allocations: 11.89 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.9114, allocations: 102.1 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.9114, allocations: 1 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.554e-06/0.9114, allocations: 3.938 kB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.9115, allocations: 0 / 1.09 GB, free: 4.203 MB / 0.8575 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.000483/0.9119, allocations: 382.8 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.912, allocations: 9.406 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.912, allocations: 7.766 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.097e-05/0.9121, allocations: 167.2 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.9122, allocations: 5.812 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.9122, allocations: 3.859 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.9123, allocations: 40.69 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.9123, allocations: 192 / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.9123, allocations: 3.938 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.9123, allocations: 1.719 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.187e-05/0.9124, allocations: 4.969 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.9125, allocations: 167.1 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.944e-05/0.9126, allocations: 32.77 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.24e-05/0.9126, allocations: 15.61 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-06/0.9127, allocations: 1.219 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.9128, allocations: 58.52 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.9128, allocations: 0 / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000212/0.913, allocations: 73.14 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.913, allocations: 57.45 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.945e-05/0.9131, allocations: 104.7 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.9131, allocations: 26.92 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.794e-05/0.9132, allocations: 90.09 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.9132, allocations: 8.453 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.9132, allocations: 20.95 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.07e-05/0.9133, allocations: 318.3 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.9133, allocations: 6.062 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.255e-05/0.9133, allocations: 35.52 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.076e-05/0.9134, allocations: 47 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.9134, allocations: 0 / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001032/0.9135, allocations: 77.56 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.9136, allocations: 10.31 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.9136, allocations: 0 / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.9136, allocations: 2.797 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.844e-05/0.9137, allocations: 8.281 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.9137, allocations: 1.469 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.576e-05/0.9137, allocations: 1.219 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.9137, allocations: 3.016 kB / 1.092 GB, free: 2.438 MB / 0.8575 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 6.649e-05/0.9138, allocations: 114 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.9138, allocations: 13.23 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.9138, allocations: 6.531 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.9138, allocations: 3.984 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.726e-06/0.9138, allocations: 1 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.9139, allocations: 0.7969 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.42e-05/0.9139, allocations: 163.7 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9139, allocations: 4 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.238e-05/0.914, allocations: 2.797 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.914, allocations: 4.906 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.944e-06/0.914, allocations: 1.281 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.914, allocations: 4.984 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.914, allocations: 0.9375 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.9141, allocations: 82.39 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.115e-05/0.9141, allocations: 78.97 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.9142, allocations: 5.859 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.958e-05/0.9142, allocations: 0 / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.9142, allocations: 2.438 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.9142, allocations: 6.453 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.73e-05/0.9143, allocations: 89.88 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9143, allocations: 3.938 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002658/0.9145, allocations: 33.97 kB / 1.092 GB, free: 1.816 MB / 0.8575 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.0003442/0.9149, allocations: 154.2 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.915, allocations: 29.98 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.915, allocations: 0 / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-05/0.9151, allocations: 17.27 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.9152, allocations: 2.25 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.9155, allocations: 119.7 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.9156, allocations: 0.6787 MB / 1.093 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.012e-05/0.9156, allocations: 3.031 kB / 1.093 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.405e-05/0.9156, allocations: 8.938 kB / 1.093 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.9156, allocations: 4.062 kB / 1.093 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of Templates: time 0.004078/0.9197, allocations: 1.114 MB / 1.094 GB, free: 0.7305 MB / 0.8575 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