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.009056/0.009057, allocations: 98.47 kB / 15.73 MB, free: 6.004 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.001364/0.001364, allocations: 195.7 kB / 16.67 MB, free: 5.926 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 15.05 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.326/2.326, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 59.91 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9347/0.936, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002157/0.9382, allocations: 1.217 MB / 1.089 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008149/0.9391, allocations: 453.8 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.9391, allocations: 1.219 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.518e-05/0.9391, allocations: 4.547 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.682e-05/0.9392, allocations: 0 / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005747/0.9398, allocations: 116.6 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.277e-05/0.9398, allocations: 24.98 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.901e-05/0.9399, allocations: 3.047 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.762e-05/0.9399, allocations: 10.16 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.255e-05/0.94, allocations: 10.05 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.94, allocations: 1.125 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002391/0.9402, allocations: 98.67 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.9403, allocations: 12.03 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.9403, allocations: 8.141 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.9405, allocations: 106.7 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.9405, allocations: 4.969 kB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.326e-06/0.9406, allocations: 0 / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.9406, 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.0006116/0.9412, allocations: 382.4 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/0.9413, allocations: 10.86 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.857e-05/0.9413, allocations: 3.125 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.9415, allocations: 162.9 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/0.9415, allocations: 2.375 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.9415, allocations: 3.109 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.9417, allocations: 44.3 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.9417, allocations: 0.9375 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.9417, allocations: 3.938 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.9417, allocations: 1.125 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.223e-05/0.9418, allocations: 8.391 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.942, allocations: 167.1 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.9421, allocations: 30.55 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.9421, allocations: 18.7 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.9422, allocations: 1.469 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/0.9424, allocations: 58.03 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 2.304e-06/0.9424, allocations: 3.938 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002399/0.9427, allocations: 73.86 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.9427, allocations: 53.58 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.592e-05/0.9428, allocations: 104.1 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.9428, allocations: 31.02 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.9429, allocations: 86.06 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.9429, allocations: 8.797 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.9429, allocations: 20.08 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.901e-05/0.943, allocations: 319.1 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.53e-05/0.943, allocations: 5.734 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.437e-05/0.9431, allocations: 39.91 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.389e-05/0.9432, allocations: 49.59 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.9432, allocations: 0.9688 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001273/0.9433, allocations: 74.33 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.9433, allocations: 8.688 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.9433, allocations: 6.578 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.9434, allocations: 1.375 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.705e-05/0.9434, allocations: 7.266 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.9435, allocations: 1.969 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.9435, allocations: 2.406 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.9435, allocations: 2.688 kB / 1.092 GB, free: 2.434 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 8.204e-05/0.9436, allocations: 118.1 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.9436, allocations: 9.438 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.9437, allocations: 4.844 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.9437, allocations: 5.438 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.9437, allocations: 0.5625 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.9437, allocations: 1.5 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.9438, allocations: 158.7 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.9438, allocations: 0.5156 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.327e-05/0.9438, allocations: 2.094 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.9439, allocations: 5.516 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.9439, allocations: 1.75 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.9439, allocations: 0 / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.9439, allocations: 0.7969 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.944, allocations: 85.44 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.9441, allocations: 79.77 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.9441, allocations: 10.41 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.397e-05/0.9441, allocations: 8.641 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.9442, allocations: 9.906 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.9442, allocations: 2.906 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.083e-05/0.9442, allocations: 80.8 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9442, allocations: 5.125 kB / 1.092 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003239/0.9446, allocations: 33.14 kB / 1.092 GB, free: 1.812 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.0005024/0.9451, allocations: 157.6 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00021/0.9453, allocations: 29.81 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.9453, allocations: 0 / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.956e-05/0.9454, allocations: 18.56 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.9456, allocations: 2.016 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.9459, allocations: 119.1 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.9461, allocations: 0.6786 MB / 1.093 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.566e-05/0.9461, allocations: 2.969 kB / 1.093 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.863e-05/0.9462, allocations: 9.438 kB / 1.093 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.9462, allocations: 0.6875 kB / 1.093 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of Templates: time 0.004813/0.951, allocations: 1.102 MB / 1.094 GB, free: 0.7344 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