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) 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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007965/0.0007965, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.004459/0.004459, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.343/1.343, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.585/2.585, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005016/0.0005018, allocations: 16.41 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2788, allocations: 159.6 MB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.001294/0.2801, allocations: 0.9587 MB / 1.06 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008732/0.281, allocations: 438.7 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.802e-05/0.2811, allocations: 4 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.2811, allocations: 4 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.434e-05/0.2811, allocations: 0 / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005779/0.2817, allocations: 91.72 kB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.635e-05/0.2818, allocations: 19.92 kB / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.2819, allocations: 4 kB / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.705e-05/0.2819, allocations: 8 kB / 1.06 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.039e-05/0.282, allocations: 15.91 kB / 1.06 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.282, allocations: 0 / 1.06 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002669/0.2822, allocations: 107.8 kB / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.2823, allocations: 0 / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.369e-05/0.2823, allocations: 41.64 kB / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.2826, allocations: 95.8 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2826, allocations: 0 / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2826, allocations: 0 / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2826, allocations: 0 / 1.06 GB, free: 3.105 MB / 0.8106 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.0005559/0.2832, allocations: 385.4 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.2832, allocations: 11.97 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.739e-05/0.2833, allocations: 38.59 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.2833, allocations: 4.938 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.2835, allocations: 168.4 kB / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.2835, allocations: 4.375 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.2835, allocations: 4.375 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.2837, allocations: 38.25 kB / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2837, allocations: 3.938 kB / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.2837, allocations: 0 / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2837, allocations: 0 / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.838e-05/0.2838, allocations: 11.98 kB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.2842, allocations: 252.8 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.767e-05/0.2843, allocations: 34.52 kB / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.2843, allocations: 20.94 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.2844, allocations: 0 / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.2845, allocations: 63.39 kB / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.2845, allocations: 0 / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0002314/0.2848, allocations: 73.62 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.2848, allocations: 51.41 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.629e-05/0.2849, allocations: 105.8 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.2849, allocations: 29.7 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.285, allocations: 84.14 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.285, allocations: 23.72 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.2851, allocations: 13.72 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.2852, allocations: 318.8 kB / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.374e-05/0.2852, allocations: 11.98 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.909e-05/0.2853, allocations: 31.44 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.438e-05/0.2853, allocations: 51.34 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.2853, allocations: 11.94 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001251/0.2855, allocations: 69.56 kB / 1.062 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2855, allocations: 7.984 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.2855, allocations: 4 kB / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.2855, allocations: 3.938 kB / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.652e-05/0.2856, allocations: 12 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2856, allocations: 0 / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.855e-05/0.2856, allocations: 8.406 kB / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.2856, allocations: 160 / 1.062 GB, free: 0.9258 MB / 0.8106 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.0001026/0.2858, allocations: 133.7 kB / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.2858, allocations: 3.984 kB / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.2858, allocations: 7.969 kB / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.2858, allocations: 0 / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.2858, allocations: 4 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2858, allocations: 0 / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.2861, allocations: 298.6 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2861, allocations: 0 / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.894e-05/0.2862, allocations: 4 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2862, allocations: 4 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.2862, allocations: 4 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.2862, allocations: 4 kB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2862, allocations: 3.984 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.2864, allocations: 167.3 kB / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.2864, allocations: 81.05 kB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.2864, allocations: 4 kB / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.043e-05/0.2865, allocations: 4 kB / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.2865, allocations: 7.984 kB / 1.063 GB, free: 112 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.2865, allocations: 0 / 1.063 GB, free: 112 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.917e-05/0.2866, allocations: 83.28 kB / 1.063 GB, free: 28 kB / 0.8106 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2866, allocations: 0 / 1.063 GB, free: 28 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003057/0.2869, allocations: 43.97 kB / 1.063 GB, free: 15.98 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.0007447/0.2877, allocations: 0.7838 MB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.2878, allocations: 31.92 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2878, allocations: 0 / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.773e-05/0.2878, allocations: 16 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.2881, allocations: 7.984 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.2892, allocations: 1.283 MB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.2894, allocations: 0.6809 MB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.187e-05/0.2895, allocations: 8 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.2895, allocations: 11.42 kB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2895, allocations: 0 / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01202/0.3015, allocations: 1.858 MB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.3017, allocations: 244.9 kB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.012, allocations: 3.938 kB / 1.068 GB, free: 11.05 MB / 0.8262 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_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