Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 102.2 kB / 16.27 MB, free: 6 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.001662/0.001662, allocations: 191 kB / 17.2 MB, free: 5.609 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.355/1.355, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.541/2.541, allocations: 469.4 MB / 0.7427 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 64.52 kB / 0.9088 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2876, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002417/0.2901, allocations: 1.198 MB / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007936/0.2909, allocations: 406.7 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.438e-05/0.2909, allocations: 0 / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.291, allocations: 3.938 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.317e-05/0.291, allocations: 4 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000495/0.2915, allocations: 95.64 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.479e-05/0.2916, allocations: 15.98 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.064e-05/0.2916, allocations: 0 / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.89e-05/0.2916, allocations: 7.938 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.744e-05/0.2917, allocations: 11.98 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.2917, allocations: 0 / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.2919, allocations: 95.84 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.2919, allocations: 3.938 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.292, allocations: 15.97 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.2921, allocations: 83.83 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.2921, allocations: 0 / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2922, allocations: 0 / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.2922, allocations: 4 kB / 1.066 GB, free: 13.11 MB / 0.8419 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.000429/0.2926, allocations: 339.6 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.2926, allocations: 15.97 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.2927, allocations: 4.938 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.2928, allocations: 172.5 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.2928, allocations: 4.375 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.2928, allocations: 8.359 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.554e-05/0.2929, allocations: 38.19 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2929, allocations: 192 / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.293, allocations: 3.938 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.293, allocations: 8 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.761e-05/0.293, allocations: 7.984 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/0.2932, allocations: 153.7 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.781e-05/0.2932, allocations: 30.52 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.993e-05/0.2933, allocations: 20.98 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.2933, allocations: 0 / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.2934, allocations: 51.41 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.2935, allocations: 0 / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0001798/0.2936, allocations: 73.55 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.2937, allocations: 51.41 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.561e-05/0.2938, allocations: 105.8 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.2938, allocations: 29.7 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.2938, allocations: 84.12 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.2939, allocations: 7.906 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.2939, allocations: 25.7 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.294, allocations: 310.8 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.169e-05/0.294, allocations: 8 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.666e-05/0.2941, allocations: 39.42 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.686e-05/0.2941, allocations: 39.38 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2941, allocations: 0 / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001002/0.2943, allocations: 69.53 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2943, allocations: 16.02 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2943, allocations: 4.422 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.2943, allocations: 0 / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.258e-05/0.2944, allocations: 11.94 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2944, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.2944, allocations: 4 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.2944, allocations: 4 kB / 1.068 GB, free: 11.15 MB / 0.8419 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 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.862e-05/0.2945, allocations: 110.4 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.2945, allocations: 3.938 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.2946, allocations: 19.47 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2946, allocations: 0 / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2946, allocations: 3.938 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2946, allocations: 4 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.2947, allocations: 161.5 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2947, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.612e-05/0.2947, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2947, allocations: 7.875 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.2948, allocations: 4 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2948, allocations: 0 / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2948, allocations: 0 / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.2949, allocations: 85.11 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.2949, allocations: 81.05 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.295, allocations: 7.938 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.159e-05/0.295, allocations: 4 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.009e-05/0.295, allocations: 3.984 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.295, allocations: 4 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.248e-05/0.2951, allocations: 79.28 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2951, allocations: 4 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002466/0.2953, allocations: 27.98 kB / 1.068 GB, free: 10.45 MB / 0.8419 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,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0003187/0.2956, allocations: 158.8 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.617e-05/0.2957, allocations: 35.91 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2958, allocations: 192 / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.43e-05/0.2958, allocations: 19.94 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.2959, allocations: 1.891 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.2962, allocations: 134.6 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.2964, allocations: 0.6729 MB / 1.069 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.734e-05/0.2964, allocations: 7.438 kB / 1.069 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of SimCode: time 2.294e-06/0.2964, allocations: 0 / 1.069 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of Templates: time 0.002772/0.2992, allocations: 1.169 MB / 1.07 GB, free: 8.203 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches