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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> 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.0009094/0.0009093, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.006318/0.006318, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.295/1.295, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.588/2.588, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003176, allocations: 11.28 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2878, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001382/0.2893, allocations: 0.947 MB / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000838/0.2901, allocations: 398.9 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.216e-05/0.2902, allocations: 3.938 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.576e-05/0.2902, allocations: 4 kB / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.32e-05/0.2902, allocations: 4 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.2907, allocations: 83.78 kB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.306e-05/0.2908, allocations: 15.98 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.2908, allocations: 0 / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.223e-05/0.2909, allocations: 7.938 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.715e-05/0.2909, allocations: 11.98 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.2909, allocations: 0 / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.2911, allocations: 83.84 kB / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.2912, allocations: 15.92 kB / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.2912, allocations: 25.7 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.2914, allocations: 91.83 kB / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2914, allocations: 3.984 kB / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2914, allocations: 0 / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.2914, allocations: 0 / 1.06 GB, free: 3.188 MB / 0.8106 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.0004252/0.2919, allocations: 335.6 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.2919, allocations: 11.97 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.791e-05/0.292, allocations: 38.97 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.292, allocations: 4.844 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.2921, allocations: 172.3 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.2922, allocations: 4.375 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.2922, allocations: 384 / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.759e-05/0.2923, allocations: 46.19 kB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2923, allocations: 3.938 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.2923, allocations: 0 / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.2923, allocations: 0 / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.91e-05/0.2924, allocations: 7.984 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.2927, allocations: 252.9 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.731e-05/0.2928, allocations: 34.52 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.388e-05/0.2928, allocations: 20.94 kB / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/0.2928, allocations: 0 / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.293, allocations: 55.39 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 4.459e-06/0.293, allocations: 4 kB / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0001894/0.2932, allocations: 81.59 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.2932, allocations: 55.41 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.46e-05/0.2933, allocations: 101.8 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.2933, allocations: 25.7 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.042e-05/0.2934, allocations: 80.14 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.2934, allocations: 15.81 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.2934, allocations: 9.719 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.2935, allocations: 326.8 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/0.2936, allocations: 7.938 kB / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.829e-05/0.2936, allocations: 35.42 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.119e-05/0.2937, allocations: 47.38 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2937, allocations: 3.938 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001149/0.2938, allocations: 81.55 kB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.2938, allocations: 4 kB / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2938, allocations: 4 kB / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.2938, allocations: 0 / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.2939, allocations: 8 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.2939, allocations: 0 / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.116e-05/0.294, allocations: 12.09 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.294, allocations: 3.984 kB / 1.062 GB, free: 1.07 MB / 0.8106 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.292e-05/0.2941, allocations: 125.8 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.2941, allocations: 4 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.014e-05/0.2941, allocations: 7.562 kB / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2941, allocations: 0 / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.2941, allocations: 0 / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2941, allocations: 3.938 kB / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.2944, allocations: 302.6 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2944, allocations: 0 / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.062e-05/0.2944, allocations: 4 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2944, allocations: 4 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.2944, allocations: 0 / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2944, allocations: 0 / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2944, allocations: 3.938 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.2946, allocations: 171.4 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.2946, allocations: 77.11 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.2947, allocations: 0 / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.827e-05/0.2947, allocations: 0 / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.2947, allocations: 11.98 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.2947, allocations: 0 / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.396e-05/0.2948, allocations: 87.55 kB / 1.063 GB, free: 192 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2948, allocations: 0 / 1.063 GB, free: 192 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002784/0.2951, allocations: 31.92 kB / 1.063 GB, free: 160 kB / 0.8106 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.0006611/0.2957, allocations: 0.7758 MB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.605e-05/0.2959, allocations: 35.92 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2959, allocations: 0 / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.089e-05/0.2959, allocations: 8 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.2961, allocations: 8 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.2972, allocations: 1.271 MB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.2975, allocations: 0.677 MB / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.333e-05/0.2975, allocations: 4 kB / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.2975, allocations: 15.44 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.2975, allocations: 0 / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01071/0.3082, allocations: 1.738 MB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.3085, allocations: 265.9 kB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.029, allocations: 6.188 kB / 1.068 GB, free: 11.3 MB / 0.8262 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