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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 107.9 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.77/2.77, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 67.89 kB / 1.104 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8295/0.8314, allocations: 168.7 MB / 1.269 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002658/0.8341, allocations: 1.219 MB / 1.27 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.8351, allocations: 416.4 kB / 1.27 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.158e-05/0.8351, allocations: 0 / 1.27 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.996e-05/0.8351, allocations: 4 kB / 1.27 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.511e-05/0.8352, allocations: 3.938 kB / 1.27 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006049/0.8358, allocations: 91.72 kB / 1.27 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.78e-05/0.8359, allocations: 27.91 kB / 1.27 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.534e-05/0.8359, allocations: 4 kB / 1.27 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.817e-05/0.836, allocations: 11.92 kB / 1.27 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.353e-05/0.836, allocations: 4 kB / 1.27 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.836, allocations: 4 kB / 1.27 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002692/0.8363, allocations: 99.88 kB / 1.271 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.8363, allocations: 0 / 1.271 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.8364, allocations: 7.922 kB / 1.271 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.8366, allocations: 89.53 kB / 1.271 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.8366, allocations: 0 / 1.271 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.985e-06/0.8366, allocations: 0 / 1.271 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.8366, allocations: 4 kB / 1.271 GB, free: 3.145 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.0006297/0.8373, allocations: 353.5 kB / 1.271 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.8373, allocations: 8.031 kB / 1.271 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.508e-05/0.8374, allocations: 38.75 kB / 1.271 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.8374, allocations: 8.875 kB / 1.271 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.8376, allocations: 160.4 kB / 1.271 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.8376, allocations: 4.375 kB / 1.271 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.8376, allocations: 384 / 1.271 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.8377, allocations: 46.25 kB / 1.271 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.8377, allocations: 7.875 kB / 1.271 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.8378, allocations: 0 / 1.271 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.8378, allocations: 0 / 1.271 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.516e-05/0.8378, allocations: 11.97 kB / 1.271 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.8382, allocations: 245 kB / 1.271 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.8383, allocations: 34.5 kB / 1.272 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.543e-05/0.8383, allocations: 16.86 kB / 1.272 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.8384, allocations: 0 / 1.272 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.8385, allocations: 67.36 kB / 1.272 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.123e-06/0.8385, allocations: 7.938 kB / 1.272 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002231/0.8388, allocations: 69.88 kB / 1.272 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.8388, allocations: 55.39 kB / 1.272 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.851e-05/0.8389, allocations: 113.7 kB / 1.272 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.8389, allocations: 25.7 kB / 1.272 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.839, allocations: 84.14 kB / 1.272 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.839, allocations: 11.89 kB / 1.272 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.839, allocations: 21.7 kB / 1.272 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.8392, allocations: 318.8 kB / 1.272 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.092e-05/0.8392, allocations: 4.062 kB / 1.272 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.832e-05/0.8393, allocations: 43.42 kB / 1.272 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.84e-05/0.8394, allocations: 51.36 kB / 1.272 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.8394, allocations: 3.938 kB / 1.272 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001157/0.8395, allocations: 73.58 kB / 1.272 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.8395, allocations: 4 kB / 1.272 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.8395, allocations: 8.062 kB / 1.272 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.8395, allocations: 0 / 1.272 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.281e-05/0.8396, allocations: 11.98 kB / 1.272 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.8396, allocations: 3.938 kB / 1.272 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.71e-05/0.8396, allocations: 4 kB / 1.272 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.8396, allocations: 0 / 1.272 GB, free: 1.008 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 9.695e-05/0.8397, allocations: 117.8 kB / 1.273 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.8398, allocations: 7.953 kB / 1.273 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.8398, allocations: 3.562 kB / 1.273 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.8398, allocations: 4.281 kB / 1.273 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.8398, allocations: 0 / 1.273 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.8398, allocations: 3.984 kB / 1.273 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.8401, allocations: 306.5 kB / 1.273 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.8401, allocations: 0 / 1.273 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.082e-05/0.8401, allocations: 4 kB / 1.273 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.8401, allocations: 0 / 1.273 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.8402, allocations: 3.984 kB / 1.273 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8402, allocations: 0 / 1.273 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.8402, allocations: 0 / 1.273 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.8403, allocations: 167.5 kB / 1.273 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.8404, allocations: 81.05 kB / 1.273 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.8404, allocations: 7.922 kB / 1.273 GB, free: 220 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.158e-05/0.8404, allocations: 8.062 kB / 1.273 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.668e-05/0.8404, allocations: 4 kB / 1.273 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.8405, allocations: 0 / 1.273 GB, free: 208 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.415e-05/0.8405, allocations: 87.22 kB / 1.273 GB, free: 120 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.8405, allocations: 4 kB / 1.273 GB, free: 116 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002709/0.8408, allocations: 31.86 kB / 1.273 GB, free: 84 kB / 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.0008146/0.8416, allocations: 0.7579 MB / 1.274 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.8417, allocations: 39.92 kB / 1.274 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.8417, allocations: 0 / 1.274 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.343e-05/0.8417, allocations: 8 kB / 1.274 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.8419, allocations: 7.984 kB / 1.274 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.8433, allocations: 1.269 MB / 1.275 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.8436, allocations: 0.6729 MB / 1.276 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.527e-05/0.8437, allocations: 7.984 kB / 1.276 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.8437, allocations: 16.56 kB / 1.276 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8437, allocations: 0 / 1.276 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.8698, allocations: 1.991 MB / 1.278 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.315/9.185, allocations: 14.56 kB / 1.278 GB, free: 11.31 MB / 0.9825 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:k,lambda,seed,time,y [Calling sys.exit(0), Time elapsed: 15.396048563998193]