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.001743/0.001743, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.171/1.171, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.398/2.398, allocations: 461.9 MB / 0.7347 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 61.84 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2408, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.0021/0.2429, allocations: 1.215 MB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007141/0.2437, allocations: 414.6 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.109e-05/0.2437, allocations: 0 / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.2437, allocations: 0 / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.97e-05/0.2438, allocations: 0 / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.2442, allocations: 103.6 kB / 1.055 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.806e-05/0.2442, allocations: 19.92 kB / 1.055 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.339e-05/0.2443, allocations: 0 / 1.055 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.661e-05/0.2443, allocations: 11.92 kB / 1.055 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.019e-05/0.2443, allocations: 4 kB / 1.055 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.2443, allocations: 0 / 1.055 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.2445, allocations: 95.91 kB / 1.055 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.2445, allocations: 15.91 kB / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.2445, allocations: 4 kB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.2447, allocations: 83.77 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.2447, allocations: 0 / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2447, allocations: 4 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.2447, allocations: 0 / 1.055 GB, free: 6.332 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.000362/0.2451, allocations: 339.6 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.2451, allocations: 12.62 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/0.2452, allocations: 35.03 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.191e-05/0.2452, allocations: 4.844 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.333e-05/0.2453, allocations: 176.3 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.2453, allocations: 8.312 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.2453, allocations: 4.375 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.578e-05/0.2454, allocations: 34.25 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2454, allocations: 3.938 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.2454, allocations: 0 / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.2454, allocations: 11.88 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.463e-05/0.2455, allocations: 11.98 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002498/0.2457, allocations: 245 kB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.427e-05/0.2458, allocations: 34.52 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.948e-05/0.2458, allocations: 20.94 kB / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.2458, allocations: 0 / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000102/0.2459, allocations: 59.34 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.2459, allocations: 0 / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0001488/0.2461, allocations: 77.67 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.2461, allocations: 51.41 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.449e-05/0.2462, allocations: 105.8 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.2462, allocations: 25.7 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.614e-05/0.2463, allocations: 84.14 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.2463, allocations: 11.91 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.2463, allocations: 21.7 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.037e-05/0.2464, allocations: 318.8 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/0.2464, allocations: 7.938 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.344e-05/0.2465, allocations: 35.42 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.331e-05/0.2465, allocations: 51.38 kB / 1.057 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2465, allocations: 3.938 kB / 1.057 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.913e-05/0.2466, allocations: 77.73 kB / 1.057 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.2467, allocations: 4 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.2467, allocations: 4 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.2467, allocations: 0 / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.034e-05/0.2467, allocations: 12 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2467, allocations: 7.922 kB / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.542e-05/0.2468, allocations: 12 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.2468, allocations: 0 / 1.057 GB, free: 4.199 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 5.805e-05/0.2468, allocations: 117.8 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.2469, allocations: 4 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.532e-05/0.2469, allocations: 3.812 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.2469, allocations: 0 / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.2469, allocations: 4 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2469, allocations: 3.938 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.2471, allocations: 310.5 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.2471, allocations: 0 / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.769e-05/0.2471, allocations: 7.938 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2472, allocations: 0 / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.2472, allocations: 0 / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.2472, allocations: 0 / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.2472, allocations: 0 / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.2473, allocations: 171.4 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.664e-05/0.2473, allocations: 77.11 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.2473, allocations: 4 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.575e-05/0.2474, allocations: 0 / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.2474, allocations: 7.984 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.2474, allocations: 0 / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.26e-05/0.2475, allocations: 79.28 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2475, allocations: 0 / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002523/0.2477, allocations: 35.92 kB / 1.057 GB, free: 3.293 MB / 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.0005161/0.2482, allocations: 0.7718 MB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.33e-05/0.2483, allocations: 39.91 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.2483, allocations: 0 / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.688e-05/0.2484, allocations: 15.94 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.2486, allocations: 8.125 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008376/0.2494, allocations: 1.253 MB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.2496, allocations: 0.6807 MB / 1.06 GB, free: 396 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.559e-05/0.2496, allocations: 7.938 kB / 1.06 GB, free: 388 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.2497, allocations: 15.44 kB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2497, allocations: 0 / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.298/1.547, allocations: 1.936 MB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/12.09, allocations: 9.203 kB / 1.062 GB, free: 14.55 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