Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001938/0.001938, allocations: 109 kB / 16.46 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.002191/0.002191, 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.443/1.443, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.664/2.664, allocations: 443.5 MB / 0.7287 GB, free: 13.24 MB / 0.5919 GB " [Timeout remaining time 177] 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.Weibull1DON,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 63.91 kB / 1.056 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8104/0.8128, allocations: 160.7 MB / 1.213 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.003233/0.816, allocations: 1.237 MB / 1.214 GB, free: 2.898 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.8172, allocations: 447.1 kB / 1.215 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/0.8173, allocations: 1.125 kB / 1.215 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.8173, allocations: 0 / 1.215 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.926e-05/0.8173, allocations: 7.938 kB / 1.215 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006383/0.818, allocations: 118.4 kB / 1.215 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.771e-05/0.818, allocations: 13.5 kB / 1.215 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.8181, allocations: 10.2 kB / 1.215 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.513e-05/0.8181, allocations: 11.95 kB / 1.215 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.763e-05/0.8181, allocations: 11.2 kB / 1.215 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.8181, allocations: 1.062 kB / 1.215 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002426/0.8184, allocations: 114.2 kB / 1.215 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.8184, allocations: 6.156 kB / 1.215 GB, free: 2.387 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.8184, allocations: 10.19 kB / 1.215 GB, free: 2.379 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.8187, allocations: 102.9 kB / 1.215 GB, free: 2.32 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.8187, allocations: 4 kB / 1.215 GB, free: 2.316 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8187, allocations: 0 / 1.215 GB, free: 2.316 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.8187, allocations: 0 / 1.215 GB, free: 2.316 MB / 0.92 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.0005666/0.8192, allocations: 392.7 kB / 1.215 GB, free: 1.895 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.8193, allocations: 9.969 kB / 1.215 GB, free: 1.895 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.511e-05/0.8194, allocations: 31.88 kB / 1.215 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.8194, allocations: 7.141 kB / 1.215 GB, free: 1.852 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.8195, allocations: 174.2 kB / 1.215 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.8196, allocations: 5.375 kB / 1.215 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.8196, allocations: 10.66 kB / 1.216 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.8197, allocations: 37.62 kB / 1.216 GB, free: 1.598 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.8197, allocations: 3.938 kB / 1.216 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.8197, allocations: 0 / 1.216 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.8197, allocations: 1.125 kB / 1.216 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.201e-05/0.8198, allocations: 12.48 kB / 1.216 GB, free: 1.586 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.8202, allocations: 251.9 kB / 1.216 GB, free: 1.301 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.8203, allocations: 36.59 kB / 1.216 GB, free: 1.266 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.373e-05/0.8203, allocations: 16.39 kB / 1.216 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.8203, allocations: 0 / 1.216 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/0.8205, allocations: 57.77 kB / 1.216 GB, free: 1.195 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.8205, allocations: 4 kB / 1.216 GB, free: 1.191 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.000263/0.8208, allocations: 78.42 kB / 1.216 GB, free: 1.137 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.8209, allocations: 52.56 kB / 1.216 GB, free: 1.074 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.283e-05/0.8209, allocations: 109.3 kB / 1.216 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.821, allocations: 26.77 kB / 1.216 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.821, allocations: 86.2 kB / 1.216 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.8211, allocations: 9.016 kB / 1.216 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.8211, allocations: 19.88 kB / 1.216 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.8213, allocations: 324.6 kB / 1.217 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.35e-05/0.8213, allocations: 5.375 kB / 1.217 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.034e-05/0.8213, allocations: 34.83 kB / 1.217 GB, free: 468 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.8214, allocations: 50.64 kB / 1.217 GB, free: 420 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.8214, allocations: 7.938 kB / 1.217 GB, free: 412 kB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001226/0.8216, allocations: 83.53 kB / 1.217 GB, free: 348 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.8216, allocations: 5.906 kB / 1.217 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.8216, allocations: 0 / 1.217 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.8216, allocations: 2.188 kB / 1.217 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.933e-05/0.8217, allocations: 7 kB / 1.217 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.8217, allocations: 6.172 kB / 1.217 GB, free: 344 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.473e-05/0.8217, allocations: 1.312 kB / 1.217 GB, free: 344 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.8217, allocations: 2.875 kB / 1.217 GB, free: 344 kB / 0.92 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 0.0001009/0.8218, allocations: 124.5 kB / 1.217 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.8218, allocations: 6.109 kB / 1.217 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.8218, allocations: 5.094 kB / 1.217 GB, free: 196 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.8218, allocations: 9.062 kB / 1.217 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.8218, allocations: 0.5 kB / 1.217 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.8218, allocations: 0 / 1.217 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003288/0.8222, allocations: 306.3 kB / 1.217 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.8222, allocations: 1.281 kB / 1.217 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.688e-05/0.8222, allocations: 3.031 kB / 1.217 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.8222, allocations: 4 kB / 1.217 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.8222, allocations: 5.172 kB / 1.217 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.8222, allocations: 1.219 kB / 1.217 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.8222, allocations: 0 / 1.217 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.8224, allocations: 163.5 kB / 1.217 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.8224, allocations: 83.22 kB / 1.217 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.8225, allocations: 5.109 kB / 1.217 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.973e-05/0.8225, allocations: 0 / 1.217 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.8225, allocations: 6.156 kB / 1.217 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.8225, allocations: 1.281 kB / 1.217 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.132e-05/0.8226, allocations: 88.17 kB / 1.218 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8226, allocations: 0 / 1.218 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003249/0.8229, allocations: 40.44 kB / 1.218 GB, free: 15.49 MB / 0.9356 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.0008328/0.8238, allocations: 0.7759 MB / 1.218 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.8239, allocations: 35.73 kB / 1.218 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.8239, allocations: 0 / 1.218 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.103e-05/0.8239, allocations: 12.7 kB / 1.218 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.8241, allocations: 5.125 kB / 1.218 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.8257, allocations: 1.292 MB / 1.22 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/0.8262, allocations: 0.6786 MB / 1.22 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.809e-05/0.8262, allocations: 3.438 kB / 1.22 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.634e-05/0.8263, allocations: 16.55 kB / 1.22 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of SimCode: time 6.11e-07/0.8263, allocations: 5.156 kB / 1.22 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.8562, allocations: 2.122 MB / 1.222 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.562/9.418, allocations: 15.12 kB / 1.222 GB, free: 11.57 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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,k,seed,time,u,x,y [Calling sys.exit(0), Time elapsed: 15.306558415759355]