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.008144/0.008144, allocations: 97.83 kB / 15.73 MB, free: 6.047 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.001737/0.001737, allocations: 193 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.815/2.815, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 63.84 kB / 1.054 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3745, allocations: 157.4 MB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002311/0.3769, allocations: 1.215 MB / 1.208 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008275/0.3777, allocations: 394.7 kB / 1.209 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.3778, allocations: 3.938 kB / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.3778, allocations: 0 / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.431e-05/0.3779, allocations: 0 / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/0.3784, allocations: 103.7 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.596e-05/0.3785, allocations: 15.98 kB / 1.209 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.3785, allocations: 3.984 kB / 1.209 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.137e-05/0.3785, allocations: 11.92 kB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.815e-05/0.3786, allocations: 8 kB / 1.209 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.3786, allocations: 0 / 1.209 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.3788, allocations: 95.84 kB / 1.209 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.3788, allocations: 7.922 kB / 1.209 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.3788, allocations: 4 kB / 1.209 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.379, allocations: 83.81 kB / 1.209 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.379, allocations: 4 kB / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.273e-06/0.379, allocations: 0 / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.299e-06/0.379, allocations: 0 / 1.209 GB, free: 8.258 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.0004423/0.3795, allocations: 351.4 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3795, allocations: 8.625 kB / 1.209 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.442e-05/0.3796, allocations: 39.03 kB / 1.209 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.3796, allocations: 0.9375 kB / 1.209 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.3797, allocations: 168.3 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-06/0.3798, allocations: 4.375 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.3798, allocations: 4.375 kB / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.3799, allocations: 46.23 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3799, allocations: 3.938 kB / 1.21 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.3799, allocations: 3.938 kB / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3799, allocations: 0 / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.14e-05/0.38, allocations: 11.92 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.3803, allocations: 241 kB / 1.21 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.439e-05/0.3804, allocations: 42.52 kB / 1.21 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.3804, allocations: 16.94 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.3804, allocations: 0 / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.3806, allocations: 71.19 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3806, allocations: 0 / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0001968/0.3808, allocations: 69.67 kB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.3808, allocations: 63.41 kB / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.708e-05/0.3809, allocations: 97.84 kB / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.3809, allocations: 29.7 kB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.381, allocations: 80.14 kB / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.381, allocations: 7.812 kB / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.3811, allocations: 29.7 kB / 1.21 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.756e-05/0.3812, allocations: 310.8 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.45e-05/0.3812, allocations: 15.98 kB / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.215e-05/0.3812, allocations: 39.36 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.46e-05/0.3813, allocations: 39.44 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.3813, allocations: 3.938 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001113/0.3814, allocations: 85.58 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.3815, allocations: 4 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3815, allocations: 0 / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3815, allocations: 4 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.266e-05/0.3816, allocations: 8 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3816, allocations: 3.984 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.846e-05/0.3816, allocations: 4.219 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.3816, allocations: 4 kB / 1.211 GB, free: 6.125 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.042e-05/0.3817, allocations: 121.7 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.3817, allocations: 7.938 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.3817, allocations: 7.547 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3818, allocations: 4 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3818, allocations: 0 / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3818, allocations: 0 / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.3821, allocations: 302.6 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3821, allocations: 3.938 kB / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.929e-05/0.3821, allocations: 0 / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3821, allocations: 4 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3821, allocations: 320 / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3821, allocations: 7.938 kB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3821, allocations: 4 kB / 1.211 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.3823, allocations: 163.5 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.3824, allocations: 81.11 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.3824, allocations: 0 / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.051e-05/0.3824, allocations: 3.938 kB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.3825, allocations: 3.984 kB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.3825, allocations: 4 kB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.218e-05/0.3825, allocations: 83.28 kB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3825, allocations: 0 / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002718/0.3828, allocations: 39.92 kB / 1.212 GB, free: 5.203 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.0007075/0.3835, allocations: 0.7608 MB / 1.212 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000108/0.3837, allocations: 39.92 kB / 1.213 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3837, allocations: 0 / 1.213 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.095e-05/0.3837, allocations: 12 kB / 1.213 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.3839, allocations: 3.25 kB / 1.213 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.3851, allocations: 1.279 MB / 1.214 GB, free: 3 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.3854, allocations: 0.6845 MB / 1.214 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.996e-05/0.3854, allocations: 0 / 1.214 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.145e-05/0.3854, allocations: 15.42 kB / 1.214 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.3854, allocations: 0 / 1.214 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.4051, allocations: 1.989 MB / 1.216 GB, free: 432 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.961/8.366, allocations: 16.89 kB / 1.216 GB, free: 420 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