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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005474/0.005474, allocations: 98.02 kB / 15.73 MB, free: 6.062 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.001408/0.001408, allocations: 193.4 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.354/2.354, allocations: 437.1 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 67.89 kB / 1.018 GB, free: 9.953 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7816/0.7835, allocations: 151.6 MB / 1.166 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.00214/0.7856, allocations: 1.223 MB / 1.167 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008377/0.7865, allocations: 448.9 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.336e-05/0.7865, allocations: 3.938 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.759e-05/0.7866, allocations: 0 / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.996e-05/0.7866, allocations: 3.938 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.7871, allocations: 119.6 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.326e-05/0.7872, allocations: 19.92 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.7872, allocations: 4 kB / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.282e-05/0.7872, allocations: 11.94 kB / 1.168 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.608e-05/0.7873, allocations: 7.922 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.7873, allocations: 4 kB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002181/0.7875, allocations: 107.9 kB / 1.168 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.7875, allocations: 3.938 kB / 1.168 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.7875, allocations: 15.92 kB / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.7877, allocations: 95.41 kB / 1.168 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.7877, allocations: 0 / 1.168 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7878, allocations: 4 kB / 1.168 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.7878, allocations: 0 / 1.168 GB, free: 1.758 MB / 0.8887 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.0004801/0.7882, allocations: 388.9 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.7883, allocations: 8.922 kB / 1.169 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.364e-05/0.7883, allocations: 42.66 kB / 1.169 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.328e-05/0.7884, allocations: 4.938 kB / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.7885, allocations: 172.3 kB / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.7885, allocations: 4.375 kB / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.7886, allocations: 4.375 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.7887, allocations: 50.17 kB / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.7887, allocations: 7.875 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.7887, allocations: 0 / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.7887, allocations: 0 / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.167e-05/0.7887, allocations: 8 kB / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.7891, allocations: 241 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.7892, allocations: 42.5 kB / 1.169 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.831e-05/0.7892, allocations: 16.89 kB / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.7892, allocations: 3.984 kB / 1.169 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/0.7894, allocations: 59.41 kB / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.7894, allocations: 0 / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.0002002/0.7896, allocations: 69.67 kB / 1.169 GB, free: 480 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.7896, allocations: 55.41 kB / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.934e-05/0.7897, allocations: 113.7 kB / 1.169 GB, free: 288 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.7898, allocations: 33.7 kB / 1.169 GB, free: 248 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.7898, allocations: 80.14 kB / 1.17 GB, free: 164 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.7898, allocations: 11.89 kB / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.7899, allocations: 25.7 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.79, allocations: 314.8 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.7901, allocations: 8 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.016e-05/0.7901, allocations: 43.41 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.578e-05/0.7902, allocations: 47.36 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.7902, allocations: 3.938 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001077/0.7903, allocations: 77.66 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.7903, allocations: 8.062 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.7903, allocations: 0 / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.7903, allocations: 4 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.573e-05/0.7904, allocations: 15.92 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.7904, allocations: 0 / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.422e-05/0.7904, allocations: 4 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.7905, allocations: 4.5 kB / 1.17 GB, free: 15.56 MB / 0.9044 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.648e-05/0.7906, allocations: 121.7 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.7906, allocations: 3.953 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.7906, allocations: 11.97 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.7906, allocations: 0 / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.7906, allocations: 0 / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.7906, allocations: 7.984 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.7909, allocations: 298.5 kB / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7909, allocations: 0 / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.791, allocations: 11.92 kB / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.791, allocations: 0 / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.791, allocations: 0 / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.791, allocations: 0 / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.791, allocations: 8 kB / 1.17 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.7911, allocations: 159.5 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-05/0.7912, allocations: 85.05 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.7912, allocations: 0 / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.079e-05/0.7913, allocations: 4 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.7913, allocations: 7.938 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.7913, allocations: 0 / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.686e-05/0.7914, allocations: 87.27 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7914, allocations: 4 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002696/0.7916, allocations: 39.81 kB / 1.171 GB, free: 14.62 MB / 0.9044 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.0007485/0.7924, allocations: 0.7728 MB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.7925, allocations: 31.92 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.7925, allocations: 0 / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.929e-05/0.7926, allocations: 16 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.7928, allocations: 0 / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.7939, allocations: 1.309 MB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.7943, allocations: 0.6807 MB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.758e-05/0.7943, allocations: 0 / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.7943, allocations: 19.42 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.7943, allocations: 0 / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5635/1.358, allocations: 2.099 MB / 1.176 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.21/16.57, allocations: 7.891 kB / 1.176 GB, free: 9.652 MB / 0.9044 GB (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 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_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