Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.001252/0.001252, allocations: 108.4 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.001332/0.001332, allocations: 192.5 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.432/1.432, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.133/3.133, allocations: 497.2 MB / 0.7811 GB, free: 33.63 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Weibull1DON,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.23 kB / 1.134 GB, free: 33.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3518, allocations: 173.9 MB / 1.304 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.003267/0.3551, allocations: 1.235 MB / 1.305 GB, free: 360 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3565, allocations: 0.4947 MB / 1.306 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.3565, allocations: 0 / 1.306 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.617e-05/0.3566, allocations: 3.938 kB / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.912e-05/0.3566, allocations: 3.938 kB / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007169/0.3573, allocations: 123.6 kB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.869e-05/0.3574, allocations: 19.97 kB / 1.306 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.3575, allocations: 4 kB / 1.306 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.419e-05/0.3575, allocations: 15.92 kB / 1.306 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.3575, allocations: 15.86 kB / 1.306 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.3576, allocations: 4 kB / 1.306 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003532/0.3579, allocations: 119.8 kB / 1.306 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.937e-05/0.358, allocations: 27.91 kB / 1.306 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.358, allocations: 31.69 kB / 1.306 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.3584, allocations: 147.7 kB / 1.306 GB, free: 15.35 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3584, allocations: 0 / 1.306 GB, free: 15.35 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3584, allocations: 0 / 1.306 GB, free: 15.35 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3584, allocations: 0 / 1.306 GB, free: 15.35 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006654/0.359, allocations: 461.4 kB / 1.307 GB, free: 14.84 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3591, allocations: 12.86 kB / 1.307 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.138e-05/0.3592, allocations: 42.73 kB / 1.307 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.3593, allocations: 16.84 kB / 1.307 GB, free: 14.76 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.3595, allocations: 188.1 kB / 1.307 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.3595, allocations: 8.375 kB / 1.307 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.3595, allocations: 4.375 kB / 1.307 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.3598, allocations: 150.1 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3598, allocations: 3.938 kB / 1.307 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.3598, allocations: 0 / 1.307 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3598, allocations: 3.984 kB / 1.307 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.36, allocations: 63.73 kB / 1.307 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004505/0.3604, allocations: 280.8 kB / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.3606, allocations: 94.48 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.3607, allocations: 73.47 kB / 1.307 GB, free: 13.8 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.3607, allocations: 0 / 1.307 GB, free: 13.8 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003536/0.3611, allocations: 179.1 kB / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of pre-optimization done (n=38): time 2.465e-06/0.3611, allocations: 0 / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=38): time 0.0009209/0.362, allocations: 496.6 kB / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.773e-05/0.3621, allocations: 87.36 kB / 1.308 GB, free: 13.03 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.3622, allocations: 129.7 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.208e-05/0.3623, allocations: 53.67 kB / 1.308 GB, free: 12.83 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.3624, allocations: 84.8 kB / 1.308 GB, free: 12.74 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.3625, allocations: 99.3 kB / 1.309 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.3626, allocations: 89.67 kB / 1.309 GB, free: 12.55 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.3628, allocations: 338.8 kB / 1.309 GB, free: 12.21 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.3631, allocations: 148.6 kB / 1.309 GB, free: 12.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.3634, allocations: 213 kB / 1.309 GB, free: 11.84 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007714/0.3642, allocations: 403.8 kB / 1.31 GB, free: 11.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.3642, allocations: 3.938 kB / 1.31 GB, free: 11.42 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009162/0.3651, allocations: 448.7 kB / 1.31 GB, free: 10.98 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.3652, allocations: 8 kB / 1.31 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.3652, allocations: 0 / 1.31 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.3652, allocations: 4 kB / 1.31 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.3653, allocations: 27.86 kB / 1.31 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.3653, allocations: 0 / 1.31 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.3654, allocations: 39.86 kB / 1.31 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.3655, allocations: 16 kB / 1.31 GB, free: 10.88 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 71 (state[33],$PRE.state[33],state[32],$PRE.state[32],state[31],$PRE.state[31],state[30],$PRE.state[30],state[29],$PRE.state[29],state[28],$PRE.state[28],state[27],$PRE.state[27],state[26],$PRE.state[26],state[25],$PRE.state[25],state[24],$PRE.state[24],state[23],$PRE.state[23],state[22],$PRE.state[22],state[21],$PRE.state[21],state[20],$PRE.state[20],state[19],$PRE.state[19],state[18],$PRE.state[18],state[17],$PRE.state[17],state[16],$PRE.state[16],state[15],$PRE.state[15],state[14],$PRE.state[14],state[13],$PRE.state[13],state[12],$PRE.state[12],state[11],$PRE.state[11],state[10],$PRE.state[10],state[9],$PRE.state[9],state[8],$PRE.state[8],state[7],$PRE.state[7],state[6],$PRE.state[6],state[5],$PRE.state[5],state[4],$PRE.state[4],state[3],$PRE.state[3],state[2],$PRE.state[2],state[1],$PRE.state[1],r,$PRE.r,$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 (42): * Single equations (assignments): 41 * Array equations: 1 * 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 0.0002581/0.3657, allocations: 181.7 kB / 1.31 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.3657, allocations: 11.91 kB / 1.31 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.3658, allocations: 13.62 kB / 1.31 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.3658, allocations: 4 kB / 1.31 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3658, allocations: 3.984 kB / 1.31 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3658, allocations: 7.875 kB / 1.31 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009112/0.3667, allocations: 0.6355 MB / 1.311 GB, free: 9.961 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3667, allocations: 0 / 1.311 GB, free: 9.961 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.3667, allocations: 7.984 kB / 1.311 GB, free: 9.953 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3667, allocations: 0 / 1.311 GB, free: 9.953 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.3668, allocations: 0 / 1.311 GB, free: 9.953 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3668, allocations: 4 kB / 1.311 GB, free: 9.949 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3668, allocations: 0 / 1.311 GB, free: 9.949 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007337/0.3675, allocations: 490.8 kB / 1.312 GB, free: 9.453 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.015e-05/0.3676, allocations: 96.89 kB / 1.312 GB, free: 9.34 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.3676, allocations: 23.98 kB / 1.312 GB, free: 9.316 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-05/0.3677, allocations: 0 / 1.312 GB, free: 9.316 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.3677, allocations: 4 kB / 1.312 GB, free: 9.312 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.3677, allocations: 0 / 1.312 GB, free: 9.312 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.544e-05/0.3678, allocations: 95.2 kB / 1.312 GB, free: 9.219 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3678, allocations: 0 / 1.312 GB, free: 9.219 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005683/0.3684, allocations: 63.81 kB / 1.312 GB, free: 9.156 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition1,$outputAlias_y,state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33],r) * Number of discrete states: 33 (state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33]) * 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.0019/0.3703, allocations: 1.224 MB / 1.313 GB, free: 7.926 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005389/0.3708, allocations: 268.9 kB / 1.313 GB, free: 7.664 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3708, allocations: 0 / 1.313 GB, free: 7.664 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.3709, allocations: 83.66 kB / 1.313 GB, free: 7.582 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.3713, allocations: 4 kB / 1.313 GB, free: 7.578 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/0.3752, allocations: 2.541 MB / 1.316 GB, free: 4.93 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.3757, allocations: 0.7205 MB / 1.316 GB, free: 4.184 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.217e-05/0.3757, allocations: 17.08 kB / 1.317 GB, free: 4.168 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.409e-05/0.3758, allocations: 35.42 kB / 1.317 GB, free: 4.133 MB / 1.014 GB Notification: Performance of SimCode: time 5.81e-07/0.3758, allocations: 0 / 1.317 GB, free: 4.133 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.405, allocations: 3.37 MB / 1.32 GB, free: 0.875 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/8.606, allocations: 5.297 kB / 1.32 GB, free: 0.8711 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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:L,dt,globalSeed,k,localSeed,time,u,x,y [Calling sys.exit(0), Time elapsed: 15.160032718908042]