Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",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.007326/0.007331, allocations: 104.7 kB / 15.73 MB, free: 6.035 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.001687/0.001687, allocations: 199.2 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.332/2.332, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 66.33 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3417, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002443/0.3442, allocations: 1.222 MB / 1.089 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009535/0.3452, allocations: 444.3 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.324e-05/0.3452, allocations: 7.938 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.971e-05/0.3452, allocations: 0 / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.727e-05/0.3453, allocations: 7.922 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006775/0.346, allocations: 107.6 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.765e-05/0.3461, allocations: 23.86 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.311e-05/0.3462, allocations: 7.938 kB / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.061e-05/0.3462, allocations: 11.98 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.009e-05/0.3462, allocations: 3.938 kB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.3463, allocations: 4 kB / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002811/0.3466, allocations: 111.8 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.3466, allocations: 4 kB / 1.089 GB, free: 92 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.3466, allocations: 15.92 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.3469, allocations: 91.81 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3469, allocations: 0 / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3469, allocations: 0 / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.347, allocations: 3.984 kB / 1.089 GB, free: 15.98 MB / 0.8575 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.0005707/0.3475, allocations: 391.9 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.597e-05/0.3476, allocations: 8.031 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.693e-05/0.3477, allocations: 34.75 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.3477, allocations: 8.938 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.3479, allocations: 164.9 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.3479, allocations: 4.375 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.3479, allocations: 384 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.3481, allocations: 50.17 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3481, allocations: 3.938 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3481, allocations: 0 / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3481, allocations: 0 / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.867e-05/0.3481, allocations: 8 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.3486, allocations: 249.2 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.489e-05/0.3487, allocations: 38.5 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.652e-05/0.3487, allocations: 24.88 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.3487, allocations: 0 / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.3489, allocations: 59.41 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.3489, allocations: 0 / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.000236/0.3492, allocations: 73.67 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.3492, allocations: 51.41 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.3494, allocations: 113.9 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.3494, allocations: 29.7 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/0.3495, allocations: 84.14 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.3495, allocations: 3.906 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/0.3496, allocations: 29.7 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3497, allocations: 314.8 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.516e-05/0.3497, allocations: 12.23 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.193e-05/0.3498, allocations: 39.41 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.597e-05/0.3498, allocations: 55.36 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3498, allocations: 3.938 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000116/0.35, allocations: 81.56 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.35, allocations: 7.938 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.35, allocations: 3.938 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.35, allocations: 7.984 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.204e-05/0.3501, allocations: 11.94 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3501, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.686e-05/0.3501, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.3502, allocations: 4 kB / 1.091 GB, free: 13.79 MB / 0.8575 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.295e-05/0.3503, allocations: 121.8 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.3503, allocations: 3.906 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/0.3503, allocations: 11.95 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3503, allocations: 0 / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3503, allocations: 0 / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3503, allocations: 0 / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.3506, allocations: 310.4 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3506, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.3507, allocations: 8 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3507, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.3507, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3507, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.3507, allocations: 4 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.3509, allocations: 163.5 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.635e-05/0.3509, allocations: 81.02 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.3509, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.334e-05/0.351, allocations: 128 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.351, allocations: 11.94 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.351, allocations: 7.984 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.318e-05/0.3511, allocations: 83.28 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3511, allocations: 4 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003043/0.3514, allocations: 35.92 kB / 1.092 GB, free: 12.85 MB / 0.8575 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.0007623/0.3522, allocations: 0.7649 MB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.3523, allocations: 35.92 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3523, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.322e-05/0.3524, allocations: 12 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.3526, allocations: 8.172 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.3538, allocations: 1.294 MB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.3542, allocations: 0.6807 MB / 1.095 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.59e-05/0.3542, allocations: 7.984 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.3542, allocations: 11.44 kB / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.3543, allocations: 4 kB / 1.095 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.3733, allocations: 2.099 MB / 1.097 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.795/8.169, allocations: 15.67 kB / 1.097 GB, free: 7.883 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:L,dt,k,seed,time,u,x,y