Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) 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.Weibull1DON,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_11_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.001678/0.001678, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 194 kB / 16.53 MB, free: 6.391 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.697/2.697, allocations: 469.8 MB / 0.7424 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 68.62 kB / 0.9086 GB, free: 34.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2689, allocations: 159.1 MB / 1.064 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002212/0.2711, allocations: 1.227 MB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008153/0.2719, allocations: 456.3 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.145e-05/0.272, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.272, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.003e-05/0.272, allocations: 3.938 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.2725, allocations: 111.6 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.491e-05/0.2726, allocations: 23.86 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.673e-05/0.2726, allocations: 4 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.861e-05/0.2726, allocations: 8 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.539e-05/0.2727, allocations: 7.922 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.2727, allocations: 4 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.2729, allocations: 107.8 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.2729, allocations: 3.984 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.2729, allocations: 15.92 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.2731, allocations: 95.81 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2731, allocations: 4 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2731, allocations: 0 / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.2731, allocations: 0 / 1.066 GB, free: 12.21 MB / 0.8262 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.0004678/0.2736, allocations: 389.3 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.2737, allocations: 8.031 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.378e-05/0.2737, allocations: 34.73 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.2737, allocations: 8.938 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.2739, allocations: 168.2 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.2739, allocations: 4.375 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.2739, allocations: 4.375 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.274, allocations: 46.23 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.274, allocations: 3.938 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.2741, allocations: 3.984 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.095e-06/0.2741, allocations: 0 / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.955e-05/0.2741, allocations: 4 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.2744, allocations: 245 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.081e-05/0.2745, allocations: 46.44 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.563e-05/0.2746, allocations: 16.94 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.2746, allocations: 3.938 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.2747, allocations: 59.41 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.2747, allocations: 0 / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0002029/0.2749, allocations: 81.7 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.275, allocations: 51.41 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.903e-05/0.2751, allocations: 113.9 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.2751, allocations: 25.7 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/0.2751, allocations: 84.14 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.2752, allocations: 11.84 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.2752, allocations: 25.7 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2754, allocations: 314.8 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/0.2754, allocations: 11.98 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.813e-05/0.2754, allocations: 31.44 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.312e-05/0.2755, allocations: 51.36 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2755, allocations: 7.875 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001191/0.2756, allocations: 77.53 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.2756, allocations: 7.938 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.2756, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2757, allocations: 4 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.399e-05/0.2757, allocations: 11.98 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.2757, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.386e-05/0.2758, allocations: 4 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.2758, allocations: 4 kB / 1.068 GB, free: 10.02 MB / 0.8262 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.598e-05/0.2759, allocations: 117.8 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.2759, allocations: 7.969 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.94e-05/0.2759, allocations: 3.969 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2759, allocations: 7.984 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2759, allocations: 0 / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2759, allocations: 96 / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.2762, allocations: 306.5 kB / 1.068 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2762, allocations: 3.984 kB / 1.068 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.64e-05/0.2762, allocations: 4 kB / 1.068 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2762, allocations: 0 / 1.068 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.2763, allocations: 4 kB / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2763, allocations: 4 kB / 1.068 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.2763, allocations: 0 / 1.068 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.2764, allocations: 167.7 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.2765, allocations: 85.02 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.2765, allocations: 7.938 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.137e-05/0.2766, allocations: 4 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.2766, allocations: 4 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.2766, allocations: 7.984 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.264e-05/0.2766, allocations: 79.28 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2767, allocations: 0 / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002667/0.2769, allocations: 39.92 kB / 1.069 GB, free: 9.078 MB / 0.8262 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.0007088/0.2776, allocations: 0.7746 MB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001092/0.2778, allocations: 35.92 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.748e-06/0.2778, allocations: 4 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.054e-05/0.2778, allocations: 12 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.278, allocations: 5.406 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.2791, allocations: 1.274 MB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.2794, allocations: 0.6779 MB / 1.071 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.732e-05/0.2794, allocations: 4 kB / 1.071 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/0.2795, allocations: 15.44 kB / 1.071 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2795, allocations: 4 kB / 1.071 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3093/0.5888, allocations: 2.088 MB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.76, allocations: 3.938 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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