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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008622/0.0008625, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005055/0.005055, allocations: 170.3 kB / 16.27 MB, free: 6.652 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.239/1.239, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.077/2.077, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002946/0.0002947, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5586/0.5589, allocations: 142.4 MB / 0.9552 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.0009084/0.5598, allocations: 0.9409 MB / 0.9561 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005992/0.5605, allocations: 401.2 kB / 0.9565 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.409e-05/0.5605, allocations: 0 / 0.9565 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.105e-06/0.5605, allocations: 0 / 0.9565 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.56e-05/0.5605, allocations: 9.188 kB / 0.9565 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.5609, allocations: 77.05 kB / 0.9565 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.031e-05/0.5609, allocations: 18.83 kB / 0.9566 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.983e-05/0.5609, allocations: 6.172 kB / 0.9566 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.442e-05/0.561, allocations: 3.625 kB / 0.9566 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.992e-05/0.561, allocations: 14.11 kB / 0.9566 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.794e-06/0.561, allocations: 1.812 kB / 0.9566 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.5612, allocations: 84.38 kB / 0.9567 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.755e-06/0.5612, allocations: 5.281 kB / 0.9567 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.5612, allocations: 36.84 kB / 0.9567 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.5613, allocations: 88.84 kB / 0.9568 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.5613, allocations: 4.906 kB / 0.9568 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.22e-07/0.5613, allocations: 3.938 kB / 0.9568 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.934e-06/0.5613, allocations: 0 / 0.9568 GB, free: 6.426 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.0001963/0.5615, allocations: 339.9 kB / 0.9571 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.661e-05/0.5616, allocations: 9.5 kB / 0.9571 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.691e-05/0.5616, allocations: 34.09 kB / 0.9572 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.521e-05/0.5616, allocations: 5.922 kB / 0.9572 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.946e-05/0.5617, allocations: 161.6 kB / 0.9573 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.732e-06/0.5617, allocations: 6.5 kB / 0.9573 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.633e-06/0.5617, allocations: 2.406 kB / 0.9573 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.402e-05/0.5617, allocations: 39.81 kB / 0.9574 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.188e-06/0.5618, allocations: 5.062 kB / 0.9574 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-06/0.5618, allocations: 0 / 0.9574 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-06/0.5618, allocations: 1.062 kB / 0.9574 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.053e-05/0.5618, allocations: 11.3 kB / 0.9574 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.562, allocations: 253.1 kB / 0.9576 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.84e-05/0.562, allocations: 36.88 kB / 0.9577 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.312e-05/0.5621, allocations: 17.52 kB / 0.9577 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-06/0.5621, allocations: 0 / 0.9577 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.844e-05/0.5622, allocations: 61.23 kB / 0.9577 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.5622, allocations: 4 kB / 0.9577 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001196/0.5623, allocations: 70.38 kB / 0.9578 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.545e-05/0.5623, allocations: 52.75 kB / 0.9579 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.189e-05/0.5623, allocations: 101.8 kB / 0.958 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.693e-06/0.5624, allocations: 27.17 kB / 0.958 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.112e-05/0.5624, allocations: 80.14 kB / 0.9581 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.154e-05/0.5624, allocations: 17.97 kB / 0.9581 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/0.5624, allocations: 15.73 kB / 0.9581 GB, free: 5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.174e-05/0.5625, allocations: 320.1 kB / 0.9584 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.666e-05/0.5625, allocations: 14.25 kB / 0.9584 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.791e-05/0.5625, allocations: 38.75 kB / 0.9585 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.553e-05/0.5626, allocations: 50.2 kB / 0.9585 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5626, allocations: 5.375 kB / 0.9585 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.572e-05/0.5627, allocations: 73.39 kB / 0.9586 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.709e-06/0.5627, allocations: 5.438 kB / 0.9586 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.5627, allocations: 1.062 kB / 0.9586 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.384e-06/0.5627, allocations: 2.25 kB / 0.9586 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.451e-05/0.5627, allocations: 14.8 kB / 0.9586 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.5627, allocations: 2.344 kB / 0.9586 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.325e-05/0.5628, allocations: 0.9688 kB / 0.9586 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.5628, allocations: 6.562 kB / 0.9586 GB, free: 4.512 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 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 3.836e-05/0.5628, allocations: 124.6 kB / 0.9587 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-06/0.5628, allocations: 6.594 kB / 0.9587 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.355e-05/0.5629, allocations: 3.562 kB / 0.9587 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.5629, allocations: 1.438 kB / 0.9587 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.5629, allocations: 0 / 0.9587 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.5629, allocations: 0 / 0.9587 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.563, allocations: 302.2 kB / 0.959 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.563, allocations: 5.156 kB / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.86e-05/0.5631, allocations: 7.031 kB / 0.959 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5631, allocations: 4 kB / 0.959 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.5631, allocations: 1.219 kB / 0.959 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5631, allocations: 0 / 0.959 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5631, allocations: 5.141 kB / 0.959 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.367e-05/0.5632, allocations: 159.3 kB / 0.9592 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.5632, allocations: 82.2 kB / 0.9593 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.737e-06/0.5632, allocations: 1.281 kB / 0.9593 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.611e-05/0.5633, allocations: 5.297 kB / 0.9593 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.5633, allocations: 5.438 kB / 0.9593 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.5633, allocations: 1.594 kB / 0.9593 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.609e-05/0.5633, allocations: 80.91 kB / 0.9594 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5633, allocations: 1.312 kB / 0.9594 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002467/0.5636, allocations: 33.2 kB / 0.9594 GB, free: 3.691 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,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0003836/0.564, allocations: 0.7794 MB / 0.9602 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.89e-05/0.564, allocations: 35.33 kB / 0.9602 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.5641, allocations: 1.406 kB / 0.9602 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.333e-05/0.5641, allocations: 13.25 kB / 0.9602 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.5643, allocations: 5.156 kB / 0.9602 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005938/0.5649, allocations: 1.256 MB / 0.9614 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.225e-05/0.5649, allocations: 0.6784 MB / 0.9621 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.544e-05/0.565, allocations: 1.781 kB / 0.9621 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/0.565, allocations: 17.25 kB / 0.9621 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of SimCode: time 3.7e-07/0.565, allocations: 1.812 kB / 0.9621 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4713/1.036, allocations: 1.721 MB / 0.9638 GB, free: 164 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/1.036, allocations: 264.3 kB / 0.9641 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.751, allocations: 0 / 0.9641 GB, free: 15.85 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > 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/jenkins1/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:k,lambda,seed,time,y