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.0008519/0.0008521, allocations: 97.78 kB / 16.02 MB, free: 76 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.001058/0.001058, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.354/1.354, allocations: 223.3 MB / 241 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.639/2.639, allocations: 462.6 MB / 0.7371 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003561, allocations: 12.8 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2952, allocations: 159.6 MB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.001219/0.2964, allocations: 0.947 MB / 1.06 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008686/0.2973, allocations: 450.7 kB / 1.061 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.959e-05/0.2973, allocations: 3.938 kB / 1.061 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.595e-05/0.2974, allocations: 0 / 1.061 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.459e-05/0.2974, allocations: 4 kB / 1.061 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.2979, allocations: 83.78 kB / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.539e-05/0.298, allocations: 23.86 kB / 1.061 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.507e-05/0.298, allocations: 8 kB / 1.061 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.444e-05/0.298, allocations: 7.984 kB / 1.061 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.119e-05/0.2981, allocations: 7.938 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.2981, allocations: 4 kB / 1.061 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.2983, allocations: 99.83 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.2983, allocations: 11.98 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.2984, allocations: 37.62 kB / 1.061 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.2985, allocations: 67.91 kB / 1.061 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2985, allocations: 3.938 kB / 1.061 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2985, allocations: 0 / 1.061 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.2986, allocations: 4 kB / 1.061 GB, free: 3.148 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.0004333/0.299, allocations: 381.4 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.299, allocations: 11.97 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.2991, allocations: 8.844 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.968e-05/0.2992, allocations: 164.4 kB / 1.062 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.2992, allocations: 384 / 1.062 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.2992, allocations: 4.375 kB / 1.062 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.612e-05/0.2993, allocations: 42.23 kB / 1.062 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2993, allocations: 4.125 kB / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.2994, allocations: 11.94 kB / 1.062 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.2994, allocations: 0 / 1.062 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.108e-05/0.2994, allocations: 4 kB / 1.062 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.2996, allocations: 157.7 kB / 1.062 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.442e-05/0.2997, allocations: 26.58 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.319e-05/0.2997, allocations: 8.859 kB / 1.062 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.2997, allocations: 4.078 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.2999, allocations: 67.27 kB / 1.062 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.2999, allocations: 4 kB / 1.062 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002241/0.3001, allocations: 77.5 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.3002, allocations: 55.41 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.47e-05/0.3003, allocations: 105.8 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.3003, allocations: 25.7 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.3003, allocations: 84.14 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.3003, allocations: 15.84 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.3004, allocations: 9.719 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.162e-05/0.3005, allocations: 326.8 kB / 1.063 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.836e-05/0.3005, allocations: 4 kB / 1.063 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.829e-05/0.3005, allocations: 43.36 kB / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.046e-05/0.3006, allocations: 47.38 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3006, allocations: 0 / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.888e-05/0.3007, allocations: 69.53 kB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.3007, allocations: 11.92 kB / 1.063 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3008, allocations: 4 kB / 1.063 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3008, allocations: 0 / 1.063 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.3008, allocations: 8.094 kB / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3009, allocations: 4 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.273e-05/0.3009, allocations: 0 / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.3009, allocations: 4 kB / 1.063 GB, free: 1.133 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 (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 7.458e-05/0.301, allocations: 117.8 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.301, allocations: 3.938 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.301, allocations: 7.891 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.301, allocations: 4 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.301, allocations: 0 / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3011, allocations: 4 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.3012, allocations: 153.7 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3012, allocations: 0 / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.279e-05/0.3012, allocations: 4 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3012, allocations: 3.938 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.3012, allocations: 0 / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3012, allocations: 4.234 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3012, allocations: 0 / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.3014, allocations: 92.97 kB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.3014, allocations: 81.11 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.3014, allocations: 11.92 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.065e-05/0.3015, allocations: 0 / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.3015, allocations: 4 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.3015, allocations: 0 / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.719e-05/0.3015, allocations: 83.27 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3015, allocations: 3.938 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002659/0.3018, allocations: 32 kB / 1.063 GB, free: 444 kB / 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 (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.0003448/0.3022, allocations: 167.6 kB / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.3023, allocations: 35.92 kB / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3023, allocations: 0 / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.053e-05/0.3023, allocations: 11.98 kB / 1.064 GB, free: 236 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.3025, allocations: 4 kB / 1.064 GB, free: 232 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002635/0.3028, allocations: 148.4 kB / 1.064 GB, free: 48 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.303, allocations: 0.6848 MB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.454e-05/0.303, allocations: 7.438 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.303, allocations: 0 / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.002774/0.3058, allocations: 1.249 MB / 1.066 GB, free: 14.07 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches