Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001714/0.001715, allocations: 109.6 kB / 16.41 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 245.1 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.762/2.762, allocations: 437.1 MB / 0.7171 GB, free: 4.062 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 71.89 kB / 1.027 GB, free: 12 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8574/0.8594, allocations: 151.6 MB / 1.175 GB, free: 17.45 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002002/0.8615, allocations: 1.212 MB / 1.176 GB, free: 16.61 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007901/0.8623, allocations: 412.2 kB / 1.176 GB, free: 16.34 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.454e-05/0.8623, allocations: 5.625 kB / 1.176 GB, free: 16.34 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.8623, allocations: 0 / 1.176 GB, free: 16.34 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.472e-05/0.8624, allocations: 3.938 kB / 1.176 GB, free: 16.34 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.8629, allocations: 90.33 kB / 1.176 GB, free: 16.3 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.107e-05/0.863, allocations: 18.75 kB / 1.176 GB, free: 16.29 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.863, allocations: 1.859 kB / 1.176 GB, free: 16.29 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.712e-05/0.8631, allocations: 12.62 kB / 1.176 GB, free: 16.28 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.849e-05/0.8631, allocations: 5.547 kB / 1.176 GB, free: 16.28 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.8631, allocations: 1.281 kB / 1.176 GB, free: 16.28 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.8633, allocations: 91.7 kB / 1.176 GB, free: 16.25 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.8634, allocations: 10.73 kB / 1.176 GB, free: 16.25 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.8634, allocations: 8.516 kB / 1.176 GB, free: 16.24 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.8636, allocations: 94.36 kB / 1.177 GB, free: 16.21 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8636, allocations: 1.469 kB / 1.177 GB, free: 16.21 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8636, allocations: 0 / 1.177 GB, free: 16.21 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.8636, allocations: 0 / 1.177 GB, free: 16.21 MB / 0.92 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.0004175/0.864, allocations: 348.4 kB / 1.177 GB, free: 15.84 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.8641, allocations: 10.64 kB / 1.177 GB, free: 15.84 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.19e-05/0.8642, allocations: 32.91 kB / 1.177 GB, free: 15.8 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.8642, allocations: 14.72 kB / 1.177 GB, free: 15.79 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.644e-05/0.8643, allocations: 162.8 kB / 1.177 GB, free: 15.59 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.8643, allocations: 6.547 kB / 1.177 GB, free: 15.59 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.8643, allocations: 2.781 kB / 1.177 GB, free: 15.59 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.8644, allocations: 37.88 kB / 1.177 GB, free: 15.55 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.8644, allocations: 11.86 kB / 1.177 GB, free: 15.54 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.8644, allocations: 1.25 kB / 1.177 GB, free: 15.54 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.8645, allocations: 0 / 1.177 GB, free: 15.54 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.313e-05/0.8645, allocations: 10.62 kB / 1.177 GB, free: 15.54 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002567/0.8648, allocations: 243.2 kB / 1.177 GB, free: 15.27 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.295e-05/0.8648, allocations: 35.64 kB / 1.177 GB, free: 15.24 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.066e-05/0.8649, allocations: 18.97 kB / 1.177 GB, free: 15.23 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.8649, allocations: 2.328 kB / 1.177 GB, free: 15.23 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.865, allocations: 65.62 kB / 1.178 GB, free: 15.16 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 2.084e-06/0.865, allocations: 0 / 1.178 GB, free: 15.16 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0001836/0.8652, allocations: 81.34 kB / 1.178 GB, free: 15.11 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.8653, allocations: 52.69 kB / 1.178 GB, free: 15.05 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.159e-05/0.8653, allocations: 104.3 kB / 1.178 GB, free: 14.95 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.8653, allocations: 27.11 kB / 1.178 GB, free: 14.91 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 1.873e-05/0.8653, allocations: 88.84 kB / 1.178 GB, free: 14.82 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.8654, allocations: 7.406 kB / 1.178 GB, free: 14.82 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.8654, allocations: 28.52 kB / 1.178 GB, free: 14.79 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 4.46e-05/0.8655, allocations: 317.9 kB / 1.178 GB, free: 14.48 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.361e-05/0.8655, allocations: 6.391 kB / 1.178 GB, free: 14.48 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.197e-05/0.8655, allocations: 38.67 kB / 1.178 GB, free: 14.44 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.391e-05/0.8656, allocations: 52.28 kB / 1.178 GB, free: 14.39 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.8656, allocations: 3.938 kB / 1.178 GB, free: 14.39 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.023e-05/0.8657, allocations: 72.16 kB / 1.178 GB, free: 14.34 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.8657, allocations: 9.797 kB / 1.178 GB, free: 14.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.8657, allocations: 1.094 kB / 1.178 GB, free: 14.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.8657, allocations: 1.438 kB / 1.178 GB, free: 14.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.956e-05/0.8658, allocations: 13.44 kB / 1.178 GB, free: 14.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.8658, allocations: 6.234 kB / 1.178 GB, free: 14.33 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.391e-05/0.8658, allocations: 1.469 kB / 1.178 GB, free: 14.33 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.8658, allocations: 2.781 kB / 1.178 GB, free: 14.33 MB / 0.92 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 4.506e-05/0.8659, allocations: 121.5 kB / 1.179 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.8659, allocations: 2.203 kB / 1.179 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.937e-05/0.8659, allocations: 8.953 kB / 1.179 GB, free: 14.19 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.8659, allocations: 5.953 kB / 1.179 GB, free: 14.19 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.8659, allocations: 0 / 1.179 GB, free: 14.19 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.866, allocations: 0.5156 kB / 1.179 GB, free: 14.19 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.8661, allocations: 312.7 kB / 1.179 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.8661, allocations: 0 / 1.179 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-05/0.8662, allocations: 7.297 kB / 1.179 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.8662, allocations: 2.172 kB / 1.179 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.8662, allocations: 0.7031 kB / 1.179 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.8662, allocations: 1.438 kB / 1.179 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.8662, allocations: 0 / 1.179 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.8663, allocations: 165.6 kB / 1.179 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 1.532e-05/0.8663, allocations: 83.23 kB / 1.179 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.8663, allocations: 1.672 kB / 1.179 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5e-05/0.8664, allocations: 10.41 kB / 1.179 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.8664, allocations: 2.031 kB / 1.179 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.8664, allocations: 1.828 kB / 1.179 GB, free: 13.61 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.124e-05/0.8665, allocations: 82.91 kB / 1.179 GB, free: 13.53 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8665, allocations: 3.938 kB / 1.179 GB, free: 13.52 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002778/0.8667, allocations: 31.53 kB / 1.179 GB, free: 13.52 MB / 0.92 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.0005206/0.8673, allocations: 0.756 MB / 1.18 GB, free: 12.82 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.8674, allocations: 40.48 kB / 1.18 GB, free: 12.81 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8674, allocations: 0 / 1.18 GB, free: 12.81 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.293e-05/0.8674, allocations: 11.36 kB / 1.18 GB, free: 12.81 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.8677, allocations: 8.719 kB / 1.18 GB, free: 12.8 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007761/0.8684, allocations: 1.26 MB / 1.181 GB, free: 11.56 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.8685, allocations: 0.6769 MB / 1.182 GB, free: 10.87 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.133e-05/0.8686, allocations: 3.906 kB / 1.182 GB, free: 10.87 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.8686, allocations: 13.78 kB / 1.182 GB, free: 10.86 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.8686, allocations: 0 / 1.182 GB, free: 10.86 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.8921, allocations: 1.975 MB / 1.184 GB, free: 10.42 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.607/9.499, allocations: 7.109 kB / 1.184 GB, free: 10.41 MB / 0.92 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:k,lambda,seed,time,y [Calling sys.exit(0), Time elapsed: 15.570747985970229]