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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_latest_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.007834/0.007834, allocations: 100.7 kB / 15.73 MB, free: 6.043 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.001846/0.001846, allocations: 200.2 kB / 16.67 MB, free: 5.98 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.548/1.548, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.806/2.806, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.001501, allocations: 67.89 kB / 1.054 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3632, allocations: 157.4 MB / 1.207 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.003004/0.3663, allocations: 1.205 MB / 1.208 GB, free: 9 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009103/0.3672, allocations: 402.6 kB / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.971e-05/0.3673, allocations: 4 kB / 1.209 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.692e-05/0.3673, allocations: 4 kB / 1.209 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.924e-05/0.3674, allocations: 3.938 kB / 1.209 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006107/0.368, allocations: 95.7 kB / 1.209 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.512e-05/0.3681, allocations: 11.94 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.3682, allocations: 7.984 kB / 1.209 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.165e-05/0.3682, allocations: 11.94 kB / 1.209 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.753e-05/0.3683, allocations: 7.969 kB / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.3683, allocations: 4 kB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002342/0.3685, allocations: 91.91 kB / 1.209 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.3686, allocations: 4 kB / 1.209 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.109e-05/0.3686, allocations: 7.938 kB / 1.209 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.3688, allocations: 95.69 kB / 1.209 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3688, allocations: 0 / 1.209 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3688, allocations: 0 / 1.209 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.3688, allocations: 0 / 1.209 GB, free: 8.262 MB / 0.9669 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.0004916/0.3693, allocations: 347.5 kB / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3694, allocations: 8.625 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.168e-05/0.3694, allocations: 39.02 kB / 1.21 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.3695, allocations: 4.938 kB / 1.21 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.3696, allocations: 164.3 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3696, allocations: 384 / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.3696, allocations: 8.375 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.3698, allocations: 34.25 kB / 1.21 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3698, allocations: 7.875 kB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.3698, allocations: 7.984 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3698, allocations: 0 / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.326e-05/0.3698, allocations: 11.98 kB / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.3702, allocations: 241 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.305e-05/0.3703, allocations: 42.44 kB / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.832e-05/0.3704, allocations: 16.86 kB / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.3704, allocations: 0 / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.3705, allocations: 71.33 kB / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.3705, allocations: 0 / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002414/0.3708, allocations: 69.69 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.3708, allocations: 51.41 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.48e-05/0.3709, allocations: 101.8 kB / 1.21 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.371, allocations: 25.7 kB / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/0.371, allocations: 84.14 kB / 1.21 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.371, allocations: 11.81 kB / 1.21 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.3711, allocations: 33.64 kB / 1.21 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3712, allocations: 314.8 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.373e-05/0.3712, allocations: 7.984 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.105e-05/0.3713, allocations: 31.44 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.017e-05/0.3714, allocations: 55.36 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.3714, allocations: 3.938 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001131/0.3715, allocations: 65.62 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3715, allocations: 8 kB / 1.211 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.3715, allocations: 0 / 1.211 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3715, allocations: 0 / 1.211 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.573e-05/0.3716, allocations: 11.98 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.3716, allocations: 7.938 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.836e-05/0.3717, allocations: 7.938 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.3717, allocations: 8.312 kB / 1.211 GB, free: 6.137 MB / 0.9669 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 8.43e-05/0.3718, allocations: 113.7 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.3718, allocations: 12.19 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.3718, allocations: 3.562 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.3718, allocations: 7.984 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3719, allocations: 3.984 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3719, allocations: 0 / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.3721, allocations: 302.5 kB / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3722, allocations: 0 / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.035e-05/0.3722, allocations: 8 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3722, allocations: 0 / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.3722, allocations: 7.984 kB / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3722, allocations: 7.938 kB / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3722, allocations: 0 / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.3724, allocations: 155.5 kB / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.3724, allocations: 81.11 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.3725, allocations: 3.984 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.176e-05/0.3725, allocations: 8 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.3725, allocations: 0 / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.3726, allocations: 0 / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.249e-05/0.3726, allocations: 79.28 kB / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3726, allocations: 3.938 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002927/0.3729, allocations: 35.92 kB / 1.212 GB, free: 5.223 MB / 0.9669 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.000794/0.3737, allocations: 0.7758 MB / 1.213 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001322/0.3738, allocations: 31.92 kB / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3739, allocations: 0 / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.806e-05/0.3739, allocations: 16 kB / 1.213 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.3741, allocations: 7.984 kB / 1.213 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.3752, allocations: 1.269 MB / 1.214 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.3755, allocations: 0.6729 MB / 1.214 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.327e-05/0.3755, allocations: 7.984 kB / 1.214 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.3755, allocations: 16.56 kB / 1.214 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of SimCode: time 1.443e-06/0.3756, allocations: 0 / 1.214 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.3957, allocations: 1.989 MB / 1.216 GB, free: 444 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.15/8.546, allocations: 11.8 kB / 1.216 GB, free: 436 kB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > 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:k,lambda,seed,time,y