Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_11_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.007492/0.007492, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.002338/0.002338, allocations: 195.3 kB / 16.67 MB, free: 5.969 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.497/2.497, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 64.03 kB / 1.065 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7176/0.7194, allocations: 159.1 MB / 1.22 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002246/0.7217, allocations: 1.202 MB / 1.221 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008034/0.7225, allocations: 410.6 kB / 1.222 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.038e-05/0.7225, allocations: 0 / 1.222 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.7226, allocations: 0 / 1.222 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.193e-05/0.7226, allocations: 0 / 1.222 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.723, allocations: 95.66 kB / 1.222 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.011e-05/0.7231, allocations: 19.92 kB / 1.222 GB, free: 492 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.488e-05/0.7232, allocations: 3.984 kB / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.198e-05/0.7232, allocations: 15.92 kB / 1.222 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.765e-05/0.7232, allocations: 8 kB / 1.222 GB, free: 464 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.7232, allocations: 0 / 1.222 GB, free: 464 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.7234, allocations: 95.89 kB / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.7235, allocations: 0 / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.7235, allocations: 7.938 kB / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.7236, allocations: 86.42 kB / 1.222 GB, free: 276 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.7237, allocations: 0 / 1.222 GB, free: 276 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7237, allocations: 0 / 1.222 GB, free: 276 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.7237, allocations: 0 / 1.222 GB, free: 276 kB / 0.9356 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.0004541/0.7241, allocations: 356.2 kB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.7242, allocations: 8.031 kB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.854e-05/0.7242, allocations: 34.75 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.7243, allocations: 12.88 kB / 1.222 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.7244, allocations: 164.4 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.7244, allocations: 4.375 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.7244, allocations: 4.312 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.266e-05/0.7245, allocations: 42.25 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.7245, allocations: 3.938 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.7246, allocations: 4 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.7246, allocations: 0 / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.23e-05/0.7246, allocations: 11.92 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.7249, allocations: 248.9 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.622e-05/0.725, allocations: 30.52 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.725, allocations: 16.94 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.7251, allocations: 8 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000129/0.7252, allocations: 67.28 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.7252, allocations: 0 / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5): time 0.0002047/0.7254, allocations: 77.67 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.7255, allocations: 51.41 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.657e-05/0.7256, allocations: 101.8 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.7256, allocations: 37.7 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.891e-05/0.7256, allocations: 80.14 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/0.7256, allocations: 3.953 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.7257, allocations: 29.7 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.7258, allocations: 310.8 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.208e-05/0.7259, allocations: 15.98 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.363e-05/0.7259, allocations: 39.36 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.639e-05/0.726, allocations: 47.56 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.726, allocations: 7.922 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001099/0.7261, allocations: 77.56 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.7261, allocations: 4 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.7261, allocations: 0 / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.7262, allocations: 4 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.568e-05/0.7262, allocations: 16.05 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.7262, allocations: 0 / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.207e-05/0.7263, allocations: 0 / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.7263, allocations: 4 kB / 1.224 GB, free: 14.12 MB / 0.9512 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.217e-05/0.7264, allocations: 123.5 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.7264, allocations: 3.953 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.201e-05/0.7264, allocations: 7.562 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.7264, allocations: 0 / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.7264, allocations: 4 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.7264, allocations: 4 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.7267, allocations: 302.5 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7267, allocations: 0 / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.965e-05/0.7267, allocations: 3.938 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.7268, allocations: 4 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.7268, allocations: 0 / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.7268, allocations: 4.141 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.7268, allocations: 0 / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.7269, allocations: 163.9 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.727, allocations: 88.98 kB / 1.225 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.727, allocations: 4 kB / 1.225 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.042e-05/0.7271, allocations: 3.984 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.7271, allocations: 4 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.7271, allocations: 4 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.842e-05/0.7271, allocations: 75.28 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7271, allocations: 0 / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002667/0.7274, allocations: 39.86 kB / 1.225 GB, free: 13.2 MB / 0.9512 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.0007224/0.7281, allocations: 0.7666 MB / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.827e-05/0.7283, allocations: 36.05 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.7283, allocations: 8 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.251e-05/0.7283, allocations: 12 kB / 1.225 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.7285, allocations: 3.938 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.7296, allocations: 1.262 MB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.7299, allocations: 0.6807 MB / 1.227 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.323e-05/0.73, allocations: 7.906 kB / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.73, allocations: 11.42 kB / 1.227 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/0.73, allocations: 0 / 1.227 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.09/1.82, allocations: 1.976 MB / 1.229 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/12.72, allocations: 8.781 kB / 1.229 GB, free: 8.441 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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