Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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: translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001392/0.001393, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.956/2.956, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.000337, allocations: 9.781 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3198, allocations: 159.6 MB / 1.058 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.001412/0.3213, allocations: 0.9393 MB / 1.059 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008461/0.3221, allocations: 419 kB / 1.059 GB, free: 4 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.3222, allocations: 4 kB / 1.059 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.3222, allocations: 3.938 kB / 1.059 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.402e-05/0.3223, allocations: 0 / 1.059 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005681/0.3228, allocations: 83.78 kB / 1.059 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.45e-05/0.3229, allocations: 19.92 kB / 1.059 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.806e-05/0.323, allocations: 4 kB / 1.059 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.612e-05/0.323, allocations: 7.984 kB / 1.059 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.932e-05/0.3231, allocations: 11.94 kB / 1.059 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.3231, allocations: 0 / 1.059 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.3233, allocations: 99.83 kB / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.3234, allocations: 15.92 kB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.3234, allocations: 25.7 kB / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.3236, allocations: 67.89 kB / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3236, allocations: 0 / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3236, allocations: 0 / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.3236, allocations: 0 / 1.06 GB, free: 3.656 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.0005035/0.3241, allocations: 381.2 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3241, allocations: 8.031 kB / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.3242, allocations: 7.906 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.3243, allocations: 175 kB / 1.06 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.3244, allocations: 4 kB / 1.06 GB, free: 3 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.3244, allocations: 7.953 kB / 1.06 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.3245, allocations: 33.69 kB / 1.06 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3245, allocations: 0 / 1.06 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3246, allocations: 0 / 1.06 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-06/0.3246, allocations: 0 / 1.06 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.878e-05/0.3246, allocations: 11.98 kB / 1.06 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.3248, allocations: 153.7 kB / 1.06 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.3249, allocations: 38.55 kB / 1.06 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.059e-05/0.325, allocations: 12.86 kB / 1.06 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.325, allocations: 3.953 kB / 1.06 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.3252, allocations: 55.48 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.3252, allocations: 0 / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002349/0.3254, allocations: 73.72 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.3255, allocations: 55.41 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.97e-05/0.3256, allocations: 101.8 kB / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.3256, allocations: 29.7 kB / 1.061 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.3257, allocations: 88.12 kB / 1.061 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.3257, allocations: 7.844 kB / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.3257, allocations: 4 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3258, allocations: 314.8 kB / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.069e-05/0.3258, allocations: 15.98 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.872e-05/0.3259, allocations: 39.39 kB / 1.061 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.94e-05/0.3259, allocations: 8 kB / 1.061 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3259, allocations: 0 / 1.061 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001064/0.326, allocations: 81.44 kB / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3261, allocations: 8.094 kB / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3261, allocations: 4 kB / 1.061 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.3261, allocations: 0 / 1.061 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/0.3262, allocations: 8 kB / 1.061 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3262, allocations: 0 / 1.061 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.842e-05/0.3262, allocations: 7.906 kB / 1.061 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.3262, allocations: 7.938 kB / 1.061 GB, free: 1.707 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.263e-05/0.3263, allocations: 109.8 kB / 1.061 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.3263, allocations: 7.938 kB / 1.061 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.3264, allocations: 15.91 kB / 1.061 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.3264, allocations: 3.938 kB / 1.061 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3264, allocations: 0 / 1.061 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3264, allocations: 0 / 1.061 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.3265, allocations: 149.7 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3265, allocations: 0 / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.829e-05/0.3265, allocations: 8 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3265, allocations: 0 / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3266, allocations: 7.938 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3266, allocations: 0 / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3266, allocations: 0 / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.3267, allocations: 93.28 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.3268, allocations: 81.09 kB / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.3268, allocations: 4 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.191e-05/0.3268, allocations: 3.953 kB / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.3269, allocations: 4 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-06/0.3269, allocations: 0 / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.355e-05/0.3269, allocations: 87.27 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3269, allocations: 7.938 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002661/0.3272, allocations: 32 kB / 1.062 GB, free: 1.004 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003673/0.3276, allocations: 169 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.3277, allocations: 23.98 kB / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3277, allocations: 192 / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.206e-05/0.3278, allocations: 23.92 kB / 1.062 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.3279, allocations: 0 / 1.062 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.3282, allocations: 124.6 kB / 1.062 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.3285, allocations: 0.677 MB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.086e-05/0.3285, allocations: 4 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.384e-05/0.3285, allocations: 7.438 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3285, allocations: 4 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of Templates: time 0.003677/0.3322, allocations: 1.06 MB / 1.064 GB, free: 14.87 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches