Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001175, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001286/0.001286, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.3 MB / 240 MB, free: 5.434 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.482/2.482, allocations: 390.9 MB / 0.666 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.0003872, allocations: 8 kB / 0.8153 GB, free: 13.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7573/0.7577, allocations: 142.4 MB / 0.9544 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001391/0.7592, allocations: 0.935 MB / 0.9553 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008548/0.76, allocations: 381.8 kB / 0.9557 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.7601, allocations: 1.156 kB / 0.9557 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.7601, allocations: 3.938 kB / 0.9557 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.507e-05/0.7602, allocations: 0 / 0.9557 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005439/0.7607, allocations: 73.69 kB / 0.9558 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.717e-05/0.7608, allocations: 10.25 kB / 0.9558 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.327e-05/0.7609, allocations: 5.484 kB / 0.9558 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.06e-05/0.7609, allocations: 7.312 kB / 0.9558 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.456e-05/0.7609, allocations: 10.16 kB / 0.9558 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.761, allocations: 1.938 kB / 0.9558 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.7612, allocations: 88.03 kB / 0.9559 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.7612, allocations: 9.141 kB / 0.9559 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.7613, allocations: 27.83 kB / 0.9559 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.7614, allocations: 64.73 kB / 0.956 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.7614, allocations: 0 / 0.956 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7614, allocations: 0 / 0.956 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.7615, allocations: 0 / 0.956 GB, free: 6.465 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.0004256/0.7619, allocations: 343 kB / 0.9563 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.762, allocations: 9.094 kB / 0.9563 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.762, allocations: 5.297 kB / 0.9563 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.7621, allocations: 162.3 kB / 0.9565 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.7621, allocations: 9.234 kB / 0.9565 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.7622, allocations: 2.781 kB / 0.9565 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.7623, allocations: 38.23 kB / 0.9565 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.7623, allocations: 0 / 0.9565 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.7623, allocations: 0.9688 kB / 0.9565 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.7623, allocations: 7.938 kB / 0.9565 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.747e-05/0.7624, allocations: 15.95 kB / 0.9566 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.7626, allocations: 153.6 kB / 0.9567 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.14e-05/0.7627, allocations: 25.64 kB / 0.9567 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.377e-05/0.7627, allocations: 14.23 kB / 0.9567 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.7627, allocations: 0 / 0.9567 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.7629, allocations: 64.8 kB / 0.9568 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.7629, allocations: 0 / 0.9568 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002402/0.7632, allocations: 68.83 kB / 0.9569 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.7632, allocations: 53.47 kB / 0.9569 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.628e-05/0.7633, allocations: 101.2 kB / 0.957 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.7633, allocations: 26.86 kB / 0.957 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.7634, allocations: 81.3 kB / 0.9571 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.7634, allocations: 16.92 kB / 0.9571 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-06/0.7634, allocations: 1.188 kB / 0.9571 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.515e-05/0.7635, allocations: 316.1 kB / 0.9574 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.174e-05/0.7635, allocations: 7.5 kB / 0.9574 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.41e-05/0.7636, allocations: 38.17 kB / 0.9575 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.405e-05/0.7636, allocations: 10.75 kB / 0.9575 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7636, allocations: 1.156 kB / 0.9575 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000107/0.7637, allocations: 68.06 kB / 0.9576 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.7638, allocations: 5.5 kB / 0.9576 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.7638, allocations: 5.047 kB / 0.9576 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.7638, allocations: 1.125 kB / 0.9576 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.541e-05/0.7639, allocations: 14.72 kB / 0.9576 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.7639, allocations: 1.094 kB / 0.9576 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.316e-05/0.7639, allocations: 9.969 kB / 0.9576 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.764, allocations: 6.266 kB / 0.9576 GB, free: 4.738 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.606e-05/0.7641, allocations: 116.4 kB / 0.9577 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-06/0.7641, allocations: 1.094 kB / 0.9577 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.7641, allocations: 8.547 kB / 0.9577 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.7641, allocations: 1.188 kB / 0.9577 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.7641, allocations: 432 / 0.9577 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.7641, allocations: 1.156 kB / 0.9577 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.7642, allocations: 156.9 kB / 0.9579 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.7643, allocations: 0 / 0.9579 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.294e-05/0.7643, allocations: 2.312 kB / 0.9579 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.61e-05/0.7643, allocations: 1.188 kB / 0.9579 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.7643, allocations: 7.984 kB / 0.9579 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.7644, allocations: 1 kB / 0.9579 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.7644, allocations: 160 / 0.9579 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.7645, allocations: 91.19 kB / 0.958 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.103e-05/0.7645, allocations: 78.42 kB / 0.958 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.7645, allocations: 0 / 0.958 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.887e-05/0.7646, allocations: 1.219 kB / 0.958 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.7646, allocations: 9.109 kB / 0.9581 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.7646, allocations: 6.312 kB / 0.9581 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.151e-05/0.7647, allocations: 76.53 kB / 0.9581 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7647, allocations: 1.156 kB / 0.9581 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002863/0.765, allocations: 28.27 kB / 0.9582 GB, free: 4.125 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003839/0.7654, allocations: 173.3 kB / 0.9583 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001186/0.7655, allocations: 33.52 kB / 0.9584 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7655, allocations: 0 / 0.9584 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.715e-05/0.7655, allocations: 11.53 kB / 0.9584 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.7657, allocations: 5.141 kB / 0.9584 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.766, allocations: 115.5 kB / 0.9585 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.7662, allocations: 0.6776 MB / 0.9591 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.703e-05/0.7662, allocations: 6.562 kB / 0.9592 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.509e-05/0.7662, allocations: 8.688 kB / 0.9592 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7662, allocations: 1.219 kB / 0.9592 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of Templates: time 0.003576/0.7698, allocations: 0.9767 MB / 0.9601 GB, free: 2.625 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:lambda,seed,t0,time,y