Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.001165/0.001165, allocations: 115.2 kB / 16.42 MB, free: 6.508 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.001149/0.001149, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.567/2.567, allocations: 472.7 MB / 0.746 GB, free: 452 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 72.08 kB / 1.07 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6545/0.6559, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002034/0.6579, allocations: 1.202 MB / 1.227 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0007724/0.6587, allocations: 406.7 kB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.319e-05/0.6588, allocations: 0 / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.6588, allocations: 4 kB / 1.228 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.566e-05/0.6588, allocations: 3.938 kB / 1.228 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.6593, allocations: 87.72 kB / 1.228 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.913e-05/0.6594, allocations: 23.91 kB / 1.228 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.635e-05/0.6595, allocations: 7.938 kB / 1.228 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.961e-05/0.6595, allocations: 11.92 kB / 1.228 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.402e-05/0.6595, allocations: 4 kB / 1.228 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.6595, allocations: 4 kB / 1.228 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.6597, allocations: 91.84 kB / 1.228 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.6597, allocations: 7.984 kB / 1.228 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.6598, allocations: 11.94 kB / 1.228 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.66, allocations: 84.31 kB / 1.228 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.66, allocations: 0 / 1.228 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.002e-06/0.66, allocations: 0 / 1.228 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.66, allocations: 0 / 1.228 GB, free: 11.57 MB / 0.9512 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.0004104/0.6604, allocations: 351.3 kB / 1.229 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.6604, allocations: 8.031 kB / 1.229 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.6605, allocations: 0.9375 kB / 1.229 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.648e-05/0.6606, allocations: 172.3 kB / 1.229 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.6606, allocations: 4.375 kB / 1.229 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.6606, allocations: 4.359 kB / 1.229 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.127e-05/0.6607, allocations: 46.17 kB / 1.229 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.6607, allocations: 192 / 1.229 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.6607, allocations: 3.938 kB / 1.229 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.6608, allocations: 4 kB / 1.229 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.659e-05/0.6608, allocations: 8 kB / 1.229 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.6609, allocations: 153.7 kB / 1.229 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.942e-05/0.661, allocations: 42.55 kB / 1.229 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.71e-05/0.661, allocations: 8.859 kB / 1.229 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.6611, allocations: 0 / 1.229 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.6612, allocations: 59.42 kB / 1.229 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.6612, allocations: 0 / 1.229 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0001761/0.6614, allocations: 69.61 kB / 1.229 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.6614, allocations: 59.41 kB / 1.229 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.419e-05/0.6615, allocations: 97.86 kB / 1.229 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.6615, allocations: 25.7 kB / 1.229 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.658e-05/0.6615, allocations: 80.14 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.6616, allocations: 19.89 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.6616, allocations: 17.72 kB / 1.229 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.506e-05/0.6617, allocations: 310.8 kB / 1.23 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.464e-05/0.6617, allocations: 15.97 kB / 1.23 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-05/0.6618, allocations: 39.38 kB / 1.23 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.727e-05/0.6618, allocations: 43.36 kB / 1.23 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.6618, allocations: 4 kB / 1.23 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.88e-05/0.6619, allocations: 65.66 kB / 1.23 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.662, allocations: 11.94 kB / 1.23 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.662, allocations: 3.938 kB / 1.23 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.662, allocations: 0 / 1.23 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.487e-05/0.6621, allocations: 8 kB / 1.23 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.6621, allocations: 0 / 1.23 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.999e-05/0.6621, allocations: 15.92 kB / 1.23 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.6621, allocations: 160 / 1.23 GB, free: 9.605 MB / 0.9512 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.749e-05/0.6622, allocations: 117.8 kB / 1.23 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.6622, allocations: 8.438 kB / 1.23 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.6622, allocations: 15.44 kB / 1.23 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.6622, allocations: 0 / 1.23 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.6623, allocations: 0 / 1.23 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.6623, allocations: 81.09 kB / 1.23 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.6623, allocations: 3.984 kB / 1.23 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.02e-05/0.6623, allocations: 0 / 1.23 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.6624, allocations: 4 kB / 1.23 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001175/0.6625, allocations: 133 kB / 1.23 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001413/0.6626, allocations: 242.6 kB / 1.23 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.64e-05/0.6627, allocations: 11.98 kB / 1.23 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 2.776e-05/0.6627, allocations: 83.28 kB / 1.231 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of Backend: time 2.2e-07/0.6627, allocations: 0 / 1.231 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005319/0.6632, allocations: 165.7 kB / 1.231 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0003062/0.6636, allocations: 0.5486 MB / 1.231 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of Templates: time 0.003188/0.6668, allocations: 1.039 MB / 1.232 GB, free: 7.078 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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