Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_10_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.001445/0.001445, 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.001655/0.001655, allocations: 195.4 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.256/1.256, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.394/2.394, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.91 kB / 0.8693 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6164/0.6178, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002692/0.6205, allocations: 1.211 MB / 1.019 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009075/0.6214, allocations: 406.7 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.645e-05/0.6215, allocations: 0 / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.951e-05/0.6215, allocations: 3.938 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.28e-05/0.6216, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000603/0.6222, allocations: 103.6 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.526e-05/0.6223, allocations: 11.98 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.6223, allocations: 4 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.536e-05/0.6224, allocations: 7.938 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.947e-05/0.6224, allocations: 7.984 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.6224, allocations: 3.938 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002225/0.6226, allocations: 95.84 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.6227, allocations: 7.984 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.6227, allocations: 11.92 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.6229, allocations: 83.83 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.6229, allocations: 4 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.472e-06/0.6229, allocations: 0 / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.623, allocations: 0 / 1.019 GB, free: 500 kB / 0.7637 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.0004679/0.6234, allocations: 343.5 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.6235, allocations: 12.02 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.839e-05/0.6236, allocations: 40.94 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.6236, allocations: 0.9375 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.6237, allocations: 168.3 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.6238, allocations: 8.375 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.6238, allocations: 4.375 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.6239, allocations: 42.23 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.6239, allocations: 3.938 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.6239, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.6239, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.892e-05/0.624, allocations: 8 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.6243, allocations: 244.9 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.949e-05/0.6244, allocations: 42.5 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.278e-05/0.6244, allocations: 16.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.6245, allocations: 4 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.6246, allocations: 55.48 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 3.667e-06/0.6246, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0002092/0.6249, allocations: 81.8 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.6249, allocations: 59.41 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.481e-05/0.625, allocations: 101.8 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.625, allocations: 25.7 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.878e-05/0.625, allocations: 80.14 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.6251, allocations: 19.73 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.6251, allocations: 21.72 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.6252, allocations: 314.8 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.406e-05/0.6253, allocations: 15.98 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.76e-05/0.6253, allocations: 35.42 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.201e-05/0.6254, allocations: 47.38 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6254, allocations: 3.938 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000109/0.6255, allocations: 81.58 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.6255, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.6255, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.6255, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.064e-05/0.6256, allocations: 15.94 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.6256, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.708e-05/0.6257, allocations: 3.906 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.6257, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 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.019e-05/0.6258, allocations: 121.7 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.6258, allocations: 4.016 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.6258, allocations: 7.562 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.6258, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.6258, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.6258, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.6261, allocations: 298.6 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.6261, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.197e-05/0.6261, allocations: 4 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.6261, allocations: 4 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.6261, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.6262, allocations: 4 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6262, allocations: 3.938 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.6263, allocations: 167.4 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.6263, allocations: 85.02 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.6264, allocations: 192 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.869e-05/0.6264, allocations: 4 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.6264, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.6265, allocations: 4 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.31e-05/0.6265, allocations: 83.55 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6265, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002831/0.6268, allocations: 35.94 kB / 1.022 GB, free: 13.44 MB / 0.7794 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.0006732/0.6275, allocations: 0.7742 MB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.6276, allocations: 35.92 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6276, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.368e-05/0.6276, allocations: 11.98 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.6278, allocations: 8 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.6289, allocations: 1.257 MB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.6291, allocations: 0.6729 MB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.125e-05/0.6292, allocations: 7.984 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.6292, allocations: 15.44 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.6292, allocations: 0 / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7176/1.347, allocations: 1.934 MB / 1.027 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.555/9.902, allocations: 19.52 kB / 1.027 GB, free: 8.699 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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